From e80317be5fc6f6a04ea3b35bfe9991b3a5d29f7a Mon Sep 17 00:00:00 2001 From: Bushstar Date: Tue, 21 Jan 2020 14:07:42 +0000 Subject: refactor: Remove redundant conditional --- src/checkqueue.h | 3 +-- 1 file changed, 1 insertion(+), 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; } -- cgit v1.2.3