aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoind.cpp
diff options
context:
space:
mode:
authorThomas Snider <tjps636@gmail.com>2018-01-26 02:48:56 -0800
committerThomas Snider <tjps636@gmail.com>2018-04-16 13:24:14 -0700
commit2c084a6609bed24979c2a144743007f8b10a5c70 (patch)
treedf9527a3ce02aa01c5d55fd6b660ead4698e954b /src/bitcoind.cpp
parent07825088f9cfd8abece774b9d978c36ab90ce3d1 (diff)
net: Minor accumulated cleanups
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 83d9719df2..0dc2dfbf7d 100644
--- a/src/bitcoind.cpp
+++ b/src/bitcoind.cpp
@@ -42,12 +42,9 @@
void WaitForShutdown()
{
- bool fShutdown = ShutdownRequested();
- // Tell the main threads to shutdown.
- while (!fShutdown)
+ while (!ShutdownRequested())
{
MilliSleep(200);
- fShutdown = ShutdownRequested();
}
Interrupt();
}