]> git.stg.codes - stg.git/commitdiff
Ticket 26. The STG_LOGGER & writeServLog unnecessary variable getting removed in the
authorElena Mamontova <helenh463@gmail.com>
Fri, 25 Mar 2016 13:18:47 +0000 (15:18 +0200)
committerElena Mamontova <helenh463@gmail.com>
Fri, 25 Mar 2016 13:18:47 +0000 (15:18 +0200)
if(newSettings.ReadSettings) construction.

projects/stargazer/main.cpp

index 644fed9145d7a0d43ab27e64d5a9cdd2927bbbd2..11f4c723d89ab2a056e7e35b8a60f0ad9f9a0601 100644 (file)
@@ -342,8 +342,6 @@ while (running)
             SETTINGS_IMPL newSettings(settings);
             if (newSettings.ReadSettings())
                 {
-                STG_LOGGER & WriteServLog = GetStgLogger();
-
                 if (newSettings.GetLogFileName() != "")
                     WriteServLog.SetLogFileName(newSettings.GetLogFileName());