diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2015-09-05 13:15:15 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2015-09-05 13:42:02 +0000 |
commit | f0208db49d59f78c96a30b05e31a226dbde9b084 (patch) | |
tree | 05e37e96a27c48d66fa601c929b5d0f44986b848 /embedserv | |
parent | d417059dae303685de7aa0f4b1c192ffcf5304d5 (diff) |
cppcheck: fix some redundantCondition warnings
Change-Id: If53d33fb4d9ca9dc1babb9043bd07c5d29fe74c2
Reviewed-on: https://gerrit.libreoffice.org/18353
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'embedserv')
-rw-r--r-- | embedserv/source/inprocserv/dllentry.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embedserv/source/inprocserv/dllentry.cxx b/embedserv/source/inprocserv/dllentry.cxx index e8b955d61aa7..ea5fb5329aba 100644 --- a/embedserv/source/inprocserv/dllentry.cxx +++ b/embedserv/source/inprocserv/dllentry.cxx @@ -105,7 +105,7 @@ namespace { int nGuidLen = GetStringFromClassID( *guidList[nInd], &pSubKey[23], 38 ); BOOL bLocalSuccess = FALSE; - if ( nGuidLen && nGuidLen == 38 ) + if ( nGuidLen == 38 ) { if ( ERROR_SUCCESS == RegOpenKey( HKEY_LOCAL_MACHINE, pSubKey, &hKey ) ) { |