diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2018-11-24 21:55:10 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2018-11-25 09:13:12 +0100 |
commit | f2cd9c0c789b5825b4d5bb84b352d089e231e527 (patch) | |
tree | 95f6ecfaf25231ee4de3320995263780cd655792 /jvmfwk | |
parent | e1cbd518118a5f2889213e5725e0e0a3c133de5d (diff) |
tdf#120703 PVS: V560 A part of conditional expression is always true/false
Change-Id: If173f42302553b164267909a0a3156bb25a6d558
Reviewed-on: https://gerrit.libreoffice.org/63957
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'jvmfwk')
-rw-r--r-- | jvmfwk/source/fwkbase.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/jvmfwk/source/fwkbase.cxx b/jvmfwk/source/fwkbase.cxx index 2e83e322aa30..5a8b39f9f58f 100644 --- a/jvmfwk/source/fwkbase.cxx +++ b/jvmfwk/source/fwkbase.cxx @@ -365,9 +365,7 @@ OUString BootParams::getJREHome() "Using bootstrap parameter " UNO_JAVA_JFW_ENV_JREHOME " with JAVA_HOME = " << pJRE); } - else if (getMode() == JFW_MODE_DIRECT - && !bEnvJRE - && !bJRE) + else if (getMode() == JFW_MODE_DIRECT && !bJRE) { throw FrameworkException( JFW_E_CONFIGURATION, |