From 9fc9765b67f3ef47904e26154d6ef1519a565e41 Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Mon, 15 Jul 2013 21:37:37 -0700 Subject: gluegen: remove redundant assignment of tmpBaseDir - can only be null here, remove the entire else condition Signed-off-by: Harvey Harrison --- src/java/com/jogamp/common/util/IOUtil.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/java/com/jogamp/common/util/IOUtil.java b/src/java/com/jogamp/common/util/IOUtil.java index 2c3c756..e7db9f6 100644 --- a/src/java/com/jogamp/common/util/IOUtil.java +++ b/src/java/com/jogamp/common/util/IOUtil.java @@ -946,8 +946,6 @@ public class IOUtil { final String tmpDirSuffix = String.format("_%04d", i); // 4 digits for iteration tmpBaseDir = testDirImpl(new File(tmpRoot, tmpSubDirPrefix+tmpDirSuffix), true /* create */, executable); } - } else { - tmpBaseDir = null; } return tmpBaseDir; } -- cgit v1.2.3