aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoind.cpp
diff options
context:
space:
mode:
authormruddy <mruddy@users.noreply.github.com>2016-09-04 11:42:07 -0400
committermruddy <mruddy@users.noreply.github.com>2016-09-04 11:42:07 -0400
commitff2ed7a5bc8f56d2c0cd8d4fa6cf06ecfe17f1b2 (patch)
tree2bf3f206d07f12d952792ca93514266ad4bad1dd /src/bitcoind.cpp
parentcbe9ae8c69b947c8cdff2e0fbf5b57c9aa09b770 (diff)
trivial: remove unnecessary variable fDaemon
Diffstat (limited to 'src/bitcoind.cpp')
-rw-r--r--src/bitcoind.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/bitcoind.cpp b/src/bitcoind.cpp
index 28bc374acc..322298d1b3 100644
--- a/src/bitcoind.cpp
+++ b/src/bitcoind.cpp
@@ -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");