From 94844b1d99b5277c96f1f326a2fd6e44fd6a3405 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Thu, 3 Jan 2013 18:16:49 -0500 Subject: [PATCH] Fixed unused var warning in logging.h when compiling with GCC. --- public/tier0/logging.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/tier0/logging.h b/public/tier0/logging.h index 3d7ad181..c62f9bfb 100644 --- a/public/tier0/logging.h +++ b/public/tier0/logging.h @@ -124,7 +124,7 @@ const int MAX_LOGGING_LISTENER_COUNT = 16; // An invalid color set on a channel to imply that it should use // a device-dependent default color where applicable. //----------------------------------------------------------------------------- -static Color UNSPECIFIED_LOGGING_COLOR( 0, 0, 0, 0 ); +const Color UNSPECIFIED_LOGGING_COLOR( 0, 0, 0, 0 ); //----------------------------------------------------------------------------- // An ID returned by the logging system to refer to a logging channel. @@ -134,7 +134,7 @@ typedef int LoggingChannelID_t; //----------------------------------------------------------------------------- // A sentinel value indicating an invalid logging channel ID. //----------------------------------------------------------------------------- -static LoggingChannelID_t INVALID_LOGGING_CHANNEL_ID = -1; +const LoggingChannelID_t INVALID_LOGGING_CHANNEL_ID = -1; //----------------------------------------------------------------------------- // The severity of a logging operation.