From e191e7f4367997d9d92f445a5e95032a0c1f27cb Mon Sep 17 00:00:00 2001 From: Christoph Jentzsch Date: Thu, 23 Oct 2014 10:26:53 +0200 Subject: [PATCH] eliminiate warning --- libevmface/Instruction.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libevmface/Instruction.cpp b/libevmface/Instruction.cpp index 5538805a2..e5255a44d 100644 --- a/libevmface/Instruction.cpp +++ b/libevmface/Instruction.cpp @@ -321,5 +321,8 @@ InstructionInfo dev::eth::instructionInfo(Instruction _inst) bool dev::eth::isValidInstruction(Instruction _inst) { - return c_instructionInfo.count(_inst); + if (c_instructionInfo.count(_inst)) + return true; + else + return false; }