[PATCH 3/6] [cppchecker] deleted unneded var in setup_native, migrateinstallpath.cxx
Pierre-André Jacquod
pjacquod at alumni.ethz.ch
Fri Sep 9 12:30:04 PDT 2011
and some coding commented since 2005
---
.../shellextensions/migrateinstallpath.cxx | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/setup_native/source/win32/customactions/shellextensions/migrateinstallpath.cxx b/setup_native/source/win32/customactions/shellextensions/migrateinstallpath.cxx
index a487309..395a21f 100644
--- a/setup_native/source/win32/customactions/shellextensions/migrateinstallpath.cxx
+++ b/setup_native/source/win32/customactions/shellextensions/migrateinstallpath.cxx
@@ -86,10 +86,6 @@ extern "C" UINT __stdcall MigrateInstallPath( MSIHANDLE handle )
std::_tstring sProductKey = "Software\\" + sManufacturer + "\\" + sDefinedName +
"\\" + sUpdateVersion + "\\" + sUpgradeCode;
- std::_tstring mystr;
- mystr = "ProductKey: " + sProductKey;
- // MessageBox( NULL, mystr.c_str(), "ProductKey", MB_OK );
-
if ( ERROR_SUCCESS == RegOpenKey( HKEY_CURRENT_USER, sProductKey.c_str(), &hKey ) )
{
if ( ERROR_SUCCESS == RegQueryValueEx( hKey, TEXT("INSTALLLOCATION"), NULL, NULL, (LPBYTE)szValue, &nValueSize ) )
--
1.7.3.4
--------------080908080707040506040403
Content-Type: text/x-patch;
name="0002-cppchecker-deletion-of-unneded-variable-in-setup_nat.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename*0="0002-cppchecker-deletion-of-unneded-variable-in-setup_nat.pa";
filename*1="tch"
More information about the LibreOffice
mailing list