From 468b7c5691bc378395915cf08ced610409c0323d Mon Sep 17 00:00:00 2001 From: Elena Mamontova Date: Fri, 25 Mar 2016 15:18:47 +0200 Subject: [PATCH 1/1] Ticket 26. The STG_LOGGER & writeServLog unnecessary variable getting removed in the if(newSettings.ReadSettings) construction. --- projects/stargazer/main.cpp | 2 -- 1 file changed, 2 deletions(-) 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()); -- 2.44.2