aboutsummaryrefslogtreecommitdiff
path: root/src/checkqueue.h
diff options
context:
space:
mode:
authorBushstar <bushsolo@gmail.com>2020-01-21 14:07:42 +0000
committerBushstar <bushsolo@gmail.com>2020-01-21 14:07:42 +0000
commite80317be5fc6f6a04ea3b35bfe9991b3a5d29f7a (patch)
treeabe90803853d8f9b300e23570c7eb0b09716ebe1 /src/checkqueue.h
parent631df3ee87ec93e1fc748715671cdb5cff7308e6 (diff)
refactor: Remove redundant conditional
Diffstat (limited to 'src/checkqueue.h')
-rw-r--r--src/checkqueue.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/checkqueue.h b/src/checkqueue.h
index 978e23a7c4..9dab5a09ac 100644
--- a/src/checkqueue.h
+++ b/src/checkqueue.h
@@ -90,8 +90,7 @@ private:
nTotal--;
bool fRet = fAllOk;
// reset the status for new work later
- if (fMaster)
- fAllOk = true;
+ fAllOk = true;
// return the current status
return fRet;
}