Skip to content

Commit

Permalink
The 'static' modifier is not needed here.
Browse files Browse the repository at this point in the history
  • Loading branch information
intorr committed Feb 13, 2018
1 parent 6f32df1 commit 1365db7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/xrCore/log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
#include "malloc.h"
#endif

extern BOOL LogExecCB = TRUE;
static string_path logFName = "engine.log";
static string_path log_file_name = "engine.log";
static BOOL no_log = TRUE;
BOOL LogExecCB = TRUE;
string_path logFName = "engine.log";
string_path log_file_name = "engine.log";
BOOL no_log = TRUE;
#ifdef CONFIG_PROFILE_LOCKS
static Lock logCS(MUTEX_PROFILE_ID(log));
Lock logCS(MUTEX_PROFILE_ID(log));
#else // CONFIG_PROFILE_LOCKS
static Lock logCS;
Lock logCS;
#endif // CONFIG_PROFILE_LOCKS
xr_vector<xr_string> LogFile;
static LogCallback LogCB = 0;
LogCallback LogCB = 0;

void FlushLog()
{
Expand Down

0 comments on commit 1365db7

Please sign in to comment.