summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/gluegen/JavaEmitter.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-03-10 13:52:03 +0100
committerSven Gothel <[email protected]>2014-03-10 13:52:03 +0100
commit66a13b80b545e4a4107ef67ec504e4fc15138a30 (patch)
treefeca0dbfa8ce4a02829b1e6850be8b20880c795d /src/java/com/jogamp/gluegen/JavaEmitter.java
parentac954c8877592203bc928112407e2bf0f25465f3 (diff)
Minor Cleanup after merging fixes for bugs 987, 990, 992 and 994
Diffstat (limited to 'src/java/com/jogamp/gluegen/JavaEmitter.java')
-rw-r--r--src/java/com/jogamp/gluegen/JavaEmitter.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/java/com/jogamp/gluegen/JavaEmitter.java b/src/java/com/jogamp/gluegen/JavaEmitter.java
index cf425cd..ec8757c 100644
--- a/src/java/com/jogamp/gluegen/JavaEmitter.java
+++ b/src/java/com/jogamp/gluegen/JavaEmitter.java
@@ -788,8 +788,10 @@ public class JavaEmitter implements GlueEmitter {
}
if (name == null) {
- if ((structType.getStructName() != null) && cfg.shouldIgnoreInInterface(structType.getStructName()))
+ final String structName = structType.getStructName();
+ if ( null != structName && cfg.shouldIgnoreInInterface(structName) ) {
return;
+ }
LOG.log(WARNING, "skipping emission of unnamed struct \"{0}\"", structType);
return;