summaryrefslogtreecommitdiff
path: root/qadevOOo/runner/helper
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-10-15 10:10:44 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-10-15 11:38:55 +0100
commita5560a555016870a8331e9d39a9dce5927c80c93 (patch)
treee1e1e220d38489f0e56c7aebff31382c744afb32 /qadevOOo/runner/helper
parent0db3357d63ca9696329cd0ef1f62f52dc99ef894 (diff)
coverity#1326281 Dereference after null check
Change-Id: Iafb8c9fc0238d99c446aa2d0d0e03bda133b3554
Diffstat (limited to 'qadevOOo/runner/helper')
-rw-r--r--qadevOOo/runner/helper/BuildEnvTools.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/qadevOOo/runner/helper/BuildEnvTools.java b/qadevOOo/runner/helper/BuildEnvTools.java
index 9222757304d0..2c10aa70cad7 100644
--- a/qadevOOo/runner/helper/BuildEnvTools.java
+++ b/qadevOOo/runner/helper/BuildEnvTools.java
@@ -64,7 +64,7 @@ public class BuildEnvTools {
msg += PropertyName.OPERATING_SYSTEM + "\nFill this parameter with an operating system like unxsols," +
" unxsoli, unxlngi, unxmacxi or wntmsci. \n\n";
}
- if(
+ if (mPlatform != null &&
(!mPlatform.equalsIgnoreCase(PropertyName.UNXSOLS)) &&
(!mPlatform.equalsIgnoreCase(PropertyName.UNXSOLI)) &&
(!mPlatform.equalsIgnoreCase(PropertyName.UNXLNGI)) &&