remove unused variable
This commit is contained in:
parent
bf6ca22b00
commit
e28e45f38e
@ -150,7 +150,6 @@ inline unsigned GenerateServerProgramOptions(const int argc,
|
|||||||
|
|
||||||
// parse config file
|
// parse config file
|
||||||
ServerPaths::iterator path_iterator = paths.find("config");
|
ServerPaths::iterator path_iterator = paths.find("config");
|
||||||
bool use_ini_file = false;
|
|
||||||
if (path_iterator != paths.end() && boost::filesystem::is_regular_file(path_iterator->second) &&
|
if (path_iterator != paths.end() && boost::filesystem::is_regular_file(path_iterator->second) &&
|
||||||
!option_variables.count("base"))
|
!option_variables.count("base"))
|
||||||
{
|
{
|
||||||
@ -160,7 +159,6 @@ inline unsigned GenerateServerProgramOptions(const int argc,
|
|||||||
boost::program_options::store(parse_config_file(config_stream, config_file_options),
|
boost::program_options::store(parse_config_file(config_stream, config_file_options),
|
||||||
option_variables);
|
option_variables);
|
||||||
boost::program_options::notify(option_variables);
|
boost::program_options::notify(option_variables);
|
||||||
use_ini_file = true;
|
|
||||||
return INIT_OK_START_ENGINE;
|
return INIT_OK_START_ENGINE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user