From 9a46e9d0a502e2742addd621d42ae3d9114210b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A0rius=20Mont=C3=B3n?= Date: Fri, 29 May 2020 16:03:45 +0200 Subject: [PATCH] add missing break for case --- src/Instruction.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Instruction.cpp b/src/Instruction.cpp index c165288..7e3e8bb 100644 --- a/src/Instruction.cpp +++ b/src/Instruction.cpp @@ -157,9 +157,12 @@ opCodes Instruction::decode() { break; } } + break; default: return OP_ERROR; } + + return OP_ERROR; }