From 033492717ccfae09377e1a23f967e9f49811961b Mon Sep 17 00:00:00 2001 From: Michael Maltese Date: Mon, 26 Jun 2017 23:33:45 -0700 Subject: [PATCH] BlockingLoop: fix unhandled enum value warning Fixes compiler warning: ``` Source/Core/Common/BlockingLoop.h:212:13: warning: enumeration value 'kNonBlock' not handled in switch [-Wswitch] switch (mode) ^ ``` --- Source/Core/Common/BlockingLoop.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/Common/BlockingLoop.h b/Source/Core/Common/BlockingLoop.h index f8e9f85164..269297367c 100644 --- a/Source/Core/Common/BlockingLoop.h +++ b/Source/Core/Common/BlockingLoop.h @@ -211,6 +211,8 @@ public: switch (mode) { + case kNonBlock: + break; case kBlock: Wait(); break;