mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-18 02:51:06 +00:00
make fCommandLine a local variable in AppInit()
This commit is contained in:
parent
adae2f1819
commit
917ac1dcc1
@ -69,6 +69,7 @@ bool AppInit(int argc, char* argv[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Command-line RPC
|
// Command-line RPC
|
||||||
|
bool fCommandLine = false;
|
||||||
for (int i = 1; i < argc; i++)
|
for (int i = 1; i < argc; i++)
|
||||||
if (!IsSwitchChar(argv[i][0]) && !boost::algorithm::istarts_with(argv[i], "bitcoin:"))
|
if (!IsSwitchChar(argv[i][0]) && !boost::algorithm::istarts_with(argv[i], "bitcoin:"))
|
||||||
fCommandLine = true;
|
fCommandLine = true;
|
||||||
|
@ -78,7 +78,6 @@ bool fPrintToConsole = false;
|
|||||||
bool fPrintToDebugger = false;
|
bool fPrintToDebugger = false;
|
||||||
bool fDaemon = false;
|
bool fDaemon = false;
|
||||||
bool fServer = false;
|
bool fServer = false;
|
||||||
bool fCommandLine = false;
|
|
||||||
string strMiscWarning;
|
string strMiscWarning;
|
||||||
bool fNoListen = false;
|
bool fNoListen = false;
|
||||||
bool fLogTimestamps = false;
|
bool fLogTimestamps = false;
|
||||||
|
@ -145,7 +145,6 @@ extern bool fPrintToConsole;
|
|||||||
extern bool fPrintToDebugger;
|
extern bool fPrintToDebugger;
|
||||||
extern bool fDaemon;
|
extern bool fDaemon;
|
||||||
extern bool fServer;
|
extern bool fServer;
|
||||||
extern bool fCommandLine;
|
|
||||||
extern std::string strMiscWarning;
|
extern std::string strMiscWarning;
|
||||||
extern bool fNoListen;
|
extern bool fNoListen;
|
||||||
extern bool fLogTimestamps;
|
extern bool fLogTimestamps;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user