diff options
Diffstat (limited to 'win/winvnc/winvnc.cxx')
-rw-r--r-- | win/winvnc/winvnc.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/winvnc/winvnc.cxx b/win/winvnc/winvnc.cxx index 5623421b..43c852c4 100644 --- a/win/winvnc/winvnc.cxx +++ b/win/winvnc/winvnc.cxx @@ -172,13 +172,13 @@ static void processParams(int argc, char** argv) { // Try to clean up earlier services we've had try { rfb::win32::unregisterService("WinVNC4"); - } catch (rdr::SystemException) { + } catch (rdr::SystemException&) { // Do nothing as we might fail simply because there was no // service to remove } try { rfb::win32::unregisterService("TigerVNC Server"); - } catch (rdr::SystemException) { + } catch (rdr::SystemException&) { } if (rfb::win32::registerService(VNCServerService::Name, |