make fCommandLine a local variable in AppInit()

This commit is contained in:
Philip Kaufmann
2013-10-08 10:52:42 +02:00
parent adae2f1819
commit 917ac1dcc1
3 changed files with 1 additions and 2 deletions

View File

@@ -69,6 +69,7 @@ bool AppInit(int argc, char* argv[])
}
// Command-line RPC
bool fCommandLine = false;
for (int i = 1; i < argc; i++)
if (!IsSwitchChar(argv[i][0]) && !boost::algorithm::istarts_with(argv[i], "bitcoin:"))
fCommandLine = true;