1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2024-12-23 01:59:43 +08:00

Fixed unused var warning in logging.h when compiling with GCC.

This commit is contained in:
Nicholas Hastings 2013-01-03 18:16:49 -05:00
parent 3038e8311f
commit 94844b1d99

View File

@ -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.