mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Remove Config::init. It's not needed.
This commit is contained in:
11
src/main.cpp
11
src/main.cpp
@@ -84,7 +84,6 @@ int main(int argc, char* argv[])
|
||||
int iResult = 0;
|
||||
po::variables_map vm; // Map of options.
|
||||
bool bTest = false;
|
||||
theConfig.init();
|
||||
|
||||
//
|
||||
// Set up option parsing.
|
||||
@@ -144,16 +143,16 @@ int main(int argc, char* argv[])
|
||||
Log::setMinSeverity(lsTRACE);
|
||||
}
|
||||
|
||||
if (vm.count("standalone"))
|
||||
{
|
||||
theConfig.RUN_STANDALONE = true;
|
||||
}
|
||||
|
||||
if (!iResult)
|
||||
{
|
||||
theConfig.setup(vm.count("conf") ? vm["conf"].as<std::string>() : "");
|
||||
}
|
||||
|
||||
if (vm.count("standalone"))
|
||||
{
|
||||
theConfig.RUN_STANDALONE = true;
|
||||
}
|
||||
|
||||
if (iResult)
|
||||
{
|
||||
nothing();
|
||||
|
||||
Reference in New Issue
Block a user