summaryrefslogtreecommitdiff
path: root/setup_native
diff options
context:
space:
mode:
authorKenneth Venken <kenneth.venken@gmail.com>2011-01-25 18:39:18 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-01-26 20:21:25 +0000
commit02dd8a0e32464aaab863c558322af67b7ba4e121 (patch)
tree1bfdfd9b352cc7b49e5ff453741d06eff73edd6b /setup_native
parent8a4974c5cd9ebc27b64c75dbaa746556e4868923 (diff)
Cpp cleanliness: redundant assignment to self
Notes
Notes: split repo tag: components_LO-BASE-INTEGRATION-DEV300_m98
Diffstat (limited to 'setup_native')
-rw-r--r--setup_native/source/win32/customactions/languagepacks/lngpckinsthelper.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/setup_native/source/win32/customactions/languagepacks/lngpckinsthelper.cxx b/setup_native/source/win32/customactions/languagepacks/lngpckinsthelper.cxx
index f6f6a4c0c3b9..bcf874699a77 100644
--- a/setup_native/source/win32/customactions/languagepacks/lngpckinsthelper.cxx
+++ b/setup_native/source/win32/customactions/languagepacks/lngpckinsthelper.cxx
@@ -153,9 +153,8 @@ extern "C" UINT __stdcall SetProductInstallationPath(MSIHANDLE handle)
MsiSetProperty(handle, TEXT("INSTALLLOCATION"), path.c_str());
}
}
- catch(std::runtime_error& ex)
+ catch(std::runtime_error&)
{
- ex = ex; // no warnings
}
return ERROR_SUCCESS;
}