From 6adde94c6ee292de5bc87a0c651fef69e8847d7e Mon Sep 17 00:00:00 2001 From: zecke Date: Fri, 10 Sep 2004 11:42:53 +0000 Subject: Remove unused code and mark parameter as Q_UNUSED --- (limited to 'core/launcher/serverapp.cpp') diff --git a/core/launcher/serverapp.cpp b/core/launcher/serverapp.cpp index a2302d8..66cc788 100644 --- a/core/launcher/serverapp.cpp +++ b/core/launcher/serverapp.cpp @@ -357,8 +357,8 @@ ServerApplication::ServerApplication( int& argc, char **argv, Type t ) apmTimeout(); grabKeyboard(); - /* make sure the event filter is installed */ - const ODeviceButton* but = ODevice::inst()->buttonForKeycode( -1 ); + /* make sure the event filter is installed */ /* std::limits::max() when you've stdc++ */ + const ODeviceButton* but = ODevice::inst()->buttonForKeycode( SHRT_MAX ); Q_CONST_UNUSED( but ) } -- cgit v0.9.0.2