diff options
author | Sven Gothel <sgothel@jausoft.com> | 2014-07-08 22:03:51 +0200 |
---|---|---|
committer | Sven Gothel <sgothel@jausoft.com> | 2014-07-08 22:03:51 +0200 |
commit | f37592d54f3633c0f195a10770020cbb5a732809 (patch) | |
tree | ce668d86ed7af7caecc30761762a78bef0f43fa7 /src/jogl/classes/javax/media/opengl | |
parent | 815776c5760e42c8b3c858a9bab982b203c59c24 (diff) |
Findbugs: Remove dead-code / unused [temp] storage and it's assignment
Diffstat (limited to 'src/jogl/classes/javax/media/opengl')
-rw-r--r-- | src/jogl/classes/javax/media/opengl/GLContext.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/javax/media/opengl/GLContext.java b/src/jogl/classes/javax/media/opengl/GLContext.java index e4e29ee2b..d5d8792d8 100644 --- a/src/jogl/classes/javax/media/opengl/GLContext.java +++ b/src/jogl/classes/javax/media/opengl/GLContext.java @@ -1878,7 +1878,7 @@ public abstract class GLContext { ok = GLContext.getAvailableGLVersion(device, 3, GLContext.CTX_PROFILE_CORE, major, minor, ctp); } if( !ok ) { - ok = GLContext.getAvailableGLVersion(device, 3, GLContext.CTX_PROFILE_COMPAT, major, minor, ctp); + GLContext.getAvailableGLVersion(device, 3, GLContext.CTX_PROFILE_COMPAT, major, minor, ctp); } return 0 != ( ctp[0] & CTX_IMPL_ES3_COMPAT ); } |