diff options
Diffstat (limited to 'src/common/Threading/ProcessPriority.h')
-rw-r--r-- | src/common/Threading/ProcessPriority.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/common/Threading/ProcessPriority.h b/src/common/Threading/ProcessPriority.h index 65332c6dff3..b4ff3f5ecf6 100644 --- a/src/common/Threading/ProcessPriority.h +++ b/src/common/Threading/ProcessPriority.h @@ -28,11 +28,6 @@ void SetProcessPriority(const std::string& logChannel) { -// Suppresses Mac OS X Warning since logChannel isn't used. -#if PLATFORM_APPLE - (void)logChannel; -#endif - #if defined(_WIN32) || defined(__linux__) ///- Handle affinity for multiple processors and process priority @@ -99,6 +94,9 @@ void SetProcessPriority(const std::string& logChannel) } #endif +#else + // Suppresses unused argument warning for all other platforms + (void)logChannel; #endif } |