Browse Source

trivial: remove unnecessary variable fDaemon

0.14
mruddy 8 years ago
parent
commit
ff2ed7a5bc
  1. 5
      src/bitcoind.cpp
  2. 1
      src/util.cpp

5
src/bitcoind.cpp

@ -40,8 +40,6 @@ @@ -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.
*/
static bool fDaemon;
void WaitForShutdown(boost::thread_group* threadGroup)
{
bool fShutdown = ShutdownRequested();
@ -130,8 +128,7 @@ bool AppInit(int argc, char* argv[]) @@ -130,8 +128,7 @@ bool AppInit(int argc, char* argv[])
exit(1);
}
#ifndef WIN32
fDaemon = GetBoolArg("-daemon", false);
if (fDaemon)
if (GetBoolArg("-daemon", false))
{
fprintf(stdout, "Bitcoin server starting\n");

1
src/util.cpp

@ -107,7 +107,6 @@ map<string, vector<string> > mapMultiArgs; @@ -107,7 +107,6 @@ map<string, vector<string> > mapMultiArgs;
bool fDebug = false;
bool fPrintToConsole = false;
bool fPrintToDebugLog = true;
bool fDaemon = false;
bool fServer = false;
string strMiscWarning;
bool fLogTimestamps = DEFAULT_LOGTIMESTAMPS;

Loading…
Cancel
Save