From: Elena Mamontova Date: Fri, 25 Mar 2016 13:18:47 +0000 (+0200) Subject: Ticket 26. The STG_LOGGER & writeServLog unnecessary variable getting removed in the X-Git-Tag: 2.409~174^2~1^2~6 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/468b7c5691bc378395915cf08ced610409c0323d Ticket 26. The STG_LOGGER & writeServLog unnecessary variable getting removed in the if(newSettings.ReadSettings) construction. --- diff --git a/projects/stargazer/main.cpp b/projects/stargazer/main.cpp index 644fed91..11f4c723 100644 --- a/projects/stargazer/main.cpp +++ b/projects/stargazer/main.cpp @@ -342,8 +342,6 @@ while (running) SETTINGS_IMPL newSettings(settings); if (newSettings.ReadSettings()) { - STG_LOGGER & WriteServLog = GetStgLogger(); - if (newSettings.GetLogFileName() != "") WriteServLog.SetLogFileName(newSettings.GetLogFileName());