summaryrefslogtreecommitdiff
path: root/desktop/win32/source
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-01-31 22:50:13 +0100
committerJulien Nabet <serval2412@yahoo.fr>2011-01-31 22:50:13 +0100
commit79de46edde90a8215b902de255f6a8fab8de1931 (patch)
treeff80b2ae0c7bbfc1a04e6c486a8946a32fb72fc3 /desktop/win32/source
parentdef75a807790721a4569befee6f96ba318f06598 (diff)
Some cppcheck cleaning
Diffstat (limited to 'desktop/win32/source')
-rw-r--r--desktop/win32/source/setup/setup_main.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/win32/source/setup/setup_main.cxx b/desktop/win32/source/setup/setup_main.cxx
index 5bfc8b6d155b..d99b671ba04c 100644
--- a/desktop/win32/source/setup/setup_main.cxx
+++ b/desktop/win32/source/setup/setup_main.cxx
@@ -129,7 +129,7 @@ extern "C" int __stdcall WinMain( HINSTANCE hInst, HINSTANCE, LPSTR, int )
{
pSetup->DisplayError( ERROR_OUTOFMEMORY );
}
- catch ( UINT nErr )
+ catch ( UINT &nErr )
{
pSetup->DisplayError( nErr );
}