mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
trivial: remove unnecessary variable fDaemon
This commit is contained in:
@@ -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[])
|
||||
exit(1);
|
||||
}
|
||||
#ifndef WIN32
|
||||
fDaemon = GetBoolArg("-daemon", false);
|
||||
if (fDaemon)
|
||||
if (GetBoolArg("-daemon", false))
|
||||
{
|
||||
fprintf(stdout, "Bitcoin server starting\n");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user