mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
trivial: remove unnecessary variable fDaemon
This commit is contained in:
parent
cbe9ae8c69
commit
ff2ed7a5bc
@ -40,8 +40,6 @@
|
|||||||
* Use the buttons <code>Namespaces</code>, <code>Classes</code> or <code>Files</code> at the top of the page to start navigating the code.
|
* Use the buttons <code>Namespaces</code>, <code>Classes</code> or <code>Files</code> at the top of the page to start navigating the code.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static bool fDaemon;
|
|
||||||
|
|
||||||
void WaitForShutdown(boost::thread_group* threadGroup)
|
void WaitForShutdown(boost::thread_group* threadGroup)
|
||||||
{
|
{
|
||||||
bool fShutdown = ShutdownRequested();
|
bool fShutdown = ShutdownRequested();
|
||||||
@ -130,8 +128,7 @@ bool AppInit(int argc, char* argv[])
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
fDaemon = GetBoolArg("-daemon", false);
|
if (GetBoolArg("-daemon", false))
|
||||||
if (fDaemon)
|
|
||||||
{
|
{
|
||||||
fprintf(stdout, "Bitcoin server starting\n");
|
fprintf(stdout, "Bitcoin server starting\n");
|
||||||
|
|
||||||
|
@ -107,7 +107,6 @@ map<string, vector<string> > mapMultiArgs;
|
|||||||
bool fDebug = false;
|
bool fDebug = false;
|
||||||
bool fPrintToConsole = false;
|
bool fPrintToConsole = false;
|
||||||
bool fPrintToDebugLog = true;
|
bool fPrintToDebugLog = true;
|
||||||
bool fDaemon = false;
|
|
||||||
bool fServer = false;
|
bool fServer = false;
|
||||||
string strMiscWarning;
|
string strMiscWarning;
|
||||||
bool fLogTimestamps = DEFAULT_LOGTIMESTAMPS;
|
bool fLogTimestamps = DEFAULT_LOGTIMESTAMPS;
|
||||||
|
Loading…
Reference in New Issue
Block a user