aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoind.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2013-10-09 23:35:42 -0700
committerWladimir J. van der Laan <[email protected]>2013-10-09 23:35:42 -0700
commita302c21e0b0484fef91673c9072c1af7c278698e (patch)
tree5f903516195f9aae66c70a1854c55f202d1b9814 /src/bitcoind.cpp
parentMerge pull request #3068 from Diapolo/qt-icon (diff)
parentmake fCommandLine a local variable in AppInit() (diff)
downloaddiscoin-a302c21e0b0484fef91673c9072c1af7c278698e.tar.xz
discoin-a302c21e0b0484fef91673c9072c1af7c278698e.zip
Merge pull request #3066 from Diapolo/rem_global
make fCommandLine a local variable in AppInit()
Diffstat (limited to 'src/bitcoind.cpp')
-rw-r--r--src/bitcoind.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bitcoind.cpp b/src/bitcoind.cpp
index 407e1d28c..add3b4e1f 100644
--- a/src/bitcoind.cpp
+++ b/src/bitcoind.cpp
@@ -69,6 +69,7 @@ bool AppInit(int argc, char* argv[])
}
// Command-line RPC
+ bool fCommandLine = false;
for (int i = 1; i < argc; i++)
if (!IsSwitchChar(argv[i][0]) && !boost::algorithm::istarts_with(argv[i], "bitcoin:"))
fCommandLine = true;