diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-02-01 19:11:26 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2014-02-16 10:45:43 +0000 |
commit | eeee164f6796274fb6858026bdee5607a6a578b1 (patch) | |
tree | b93730cd81699b01c2ef37d427591eef6331b65e /shell | |
parent | 6454bb693413f4fbf5a1d309c67a78e1ea3f59c4 (diff) |
cppcheck: redundantAssignment
Let's not forget the result of RegDeleteValueA call
Change-Id: I9458040bc3a8960ab740ee3c5211eaa9ba24b1aa
Reviewed-on: https://gerrit.libreoffice.org/7772
Tested-by: David Tardon <dtardon@redhat.com>
Reviewed-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/win32/shlxthandler/shlxthdl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/win32/shlxthandler/shlxthdl.cxx b/shell/source/win32/shlxthandler/shlxthdl.cxx index 03f07afe9bf9..a2f8a1d3bc8a 100644 --- a/shell/source/win32/shlxthandler/shlxthdl.cxx +++ b/shell/source/win32/shlxthandler/shlxthdl.cxx @@ -289,7 +289,7 @@ namespace /* private */ hkey, ClsidToString(Clsid).c_str()); - rc = RegCloseKey(hkey); + rc |= RegCloseKey(hkey); } return rc == ERROR_SUCCESS ? S_OK : E_FAIL; |