diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-08-12 08:54:24 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-08-13 10:10:43 +0200 |
commit | c7b0ec89248fc2f781b1e77b92a580619bb23467 (patch) | |
tree | bec6d060982d225e6468e563ca0f30d5e41fcd26 /setup_native | |
parent | 1e0237b3739288acdfcc4a9bbc62798a671afb20 (diff) |
warning C4189: local variable is initialized but not referenced
Change-Id: Ib1f69c0a37452f980b115a52666c85fb1e26ff74
Diffstat (limited to 'setup_native')
-rw-r--r-- | setup_native/source/win32/customactions/reg4allmsdoc/reg4allmsi.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/setup_native/source/win32/customactions/reg4allmsdoc/reg4allmsi.cxx b/setup_native/source/win32/customactions/reg4allmsdoc/reg4allmsi.cxx index 728121b564c8..c0ea0680489a 100644 --- a/setup_native/source/win32/customactions/reg4allmsdoc/reg4allmsi.cxx +++ b/setup_native/source/win32/customactions/reg4allmsdoc/reg4allmsi.cxx @@ -219,7 +219,6 @@ static void registerForExtension( MSIHANDLE handle, const int nIndex, bool bRegi static void saveOldRegistration( LPCSTR lpSubKey ) { - BOOL bRet = false; HKEY hKey = NULL; LONG lResult = RegOpenKeyExA( HKEY_CLASSES_ROOT, lpSubKey, 0, KEY_QUERY_VALUE|KEY_SET_VALUE, &hKey ); @@ -498,7 +497,6 @@ extern "C" UINT __stdcall FindRegisteredExtensions( MSIHANDLE handle ) static void restoreOldRegistration( LPCSTR lpSubKey ) { - BOOL bRet = false; HKEY hKey = NULL; LONG lResult = RegOpenKeyExA( HKEY_CLASSES_ROOT, lpSubKey, 0, KEY_QUERY_VALUE|KEY_SET_VALUE, &hKey ); |