Skip to content

Commit d077f43

Browse files
committed
Merge #8663: trivial: remove unnecessary variable fDaemon
ff2ed7a trivial: remove unnecessary variable fDaemon (mruddy)
2 parents e82fb87 + ff2ed7a commit d077f43

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/bitcoind.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@
4040
* Use the buttons <code>Namespaces</code>, <code>Classes</code> or <code>Files</code> at the top of the page to start navigating the code.
4141
*/
4242

43-
static bool fDaemon;
44-
4543
void WaitForShutdown(boost::thread_group* threadGroup)
4644
{
4745
bool fShutdown = ShutdownRequested();
@@ -130,8 +128,7 @@ bool AppInit(int argc, char* argv[])
130128
exit(1);
131129
}
132130
#ifndef WIN32
133-
fDaemon = GetBoolArg("-daemon", false);
134-
if (fDaemon)
131+
if (GetBoolArg("-daemon", false))
135132
{
136133
fprintf(stdout, "Bitcoin server starting\n");
137134

src/util.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ map<string, vector<string> > mapMultiArgs;
107107
bool fDebug = false;
108108
bool fPrintToConsole = false;
109109
bool fPrintToDebugLog = true;
110-
bool fDaemon = false;
111110
bool fServer = false;
112111
string strMiscWarning;
113112
bool fLogTimestamps = DEFAULT_LOGTIMESTAMPS;

0 commit comments

Comments
 (0)