aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-12-02 18:40:50 +0100
committerSven Gothel <[email protected]>2023-12-02 18:40:50 +0100
commit2a48dd9009e5b0b17d78f016e149e4cb387539e6 (patch)
treeded733cdb245ef294563113c3fe773c123d93dc5
parent0cad15cc7538600ec741e685cc8f054d8607a52d (diff)
Bug 1481 - Remove redundant isPascalLen() branch
-rw-r--r--src/java/com/jogamp/gluegen/JavaCallbackEmitter.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/java/com/jogamp/gluegen/JavaCallbackEmitter.java b/src/java/com/jogamp/gluegen/JavaCallbackEmitter.java
index 1c6a3c7..247d3ac 100644
--- a/src/java/com/jogamp/gluegen/JavaCallbackEmitter.java
+++ b/src/java/com/jogamp/gluegen/JavaCallbackEmitter.java
@@ -627,8 +627,6 @@ public final class JavaCallbackEmitter {
if( 0 < consumedCount ) { unit.emit(", "); }
if( idx == info.cbFuncUserParamIdx && !useParamLocal[0] ) {
unit.emit("value.param");
- } else if( jType.isPascalLen() ){
- unit.emit( "/* "+name+" */");
} else {
unit.emit(name);
}