diff options
-rw-r--r-- | src/account-server/main-account.cpp | 3 | ||||
-rw-r--r-- | src/game-server/main-game.cpp | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/src/account-server/main-account.cpp b/src/account-server/main-account.cpp index 25e96232..eec8b9ed 100644 --- a/src/account-server/main-account.cpp +++ b/src/account-server/main-account.cpp @@ -287,7 +287,6 @@ struct CommandLineOptions { CommandLineOptions(): configPath(DEFAULT_CONFIG_FILE), - configPathChanged(false), verbosity(Logger::Warn), verbosityChanged(false), port(DEFAULT_SERVER_PORT), @@ -295,7 +294,6 @@ struct CommandLineOptions {} std::string configPath; - bool configPathChanged; Logger::Level verbosity; bool verbosityChanged; @@ -337,7 +335,6 @@ static void parseOptions(int argc, char *argv[], CommandLineOptions &options) case 'c': // Change config filename and path. options.configPath = optarg; - options.configPathChanged = true; break; case 'v': options.verbosity = static_cast<Logger::Level>(atoi(optarg)); diff --git a/src/game-server/main-game.cpp b/src/game-server/main-game.cpp index 682148b3..01cb6604 100644 --- a/src/game-server/main-game.cpp +++ b/src/game-server/main-game.cpp @@ -283,7 +283,6 @@ struct CommandLineOptions { CommandLineOptions(): configPath(DEFAULT_CONFIG_FILE), - configPathChanged(false), verbosity(Logger::Warn), verbosityChanged(false), port(DEFAULT_SERVER_PORT + 3), @@ -291,7 +290,6 @@ struct CommandLineOptions {} std::string configPath; - bool configPathChanged; Logger::Level verbosity; bool verbosityChanged; @@ -333,7 +331,6 @@ static void parseOptions(int argc, char *argv[], CommandLineOptions &options) case 'c': // Change config filename and path. options.configPath = optarg; - options.configPathChanged = true; break; case 'v': options.verbosity = static_cast<Logger::Level>(atoi(optarg)); |