Skip to content

Commit 56a8038

Browse files
timp87sparkprime
authored andcommitted
Fix the following compiler (clang 11) warning
vm.cpp:1585:19: warning: enumeration value 'binary' not handled in switch [-Wswitch] switch (v.type()) { ^ Show explicitly it's not just forgotten to handle the json::value_t::binary case
1 parent 66a0006 commit 56a8038

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/vm.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1710,6 +1710,9 @@ class Interpreter {
17101710
case json::value_t::discarded: {
17111711
abort();
17121712
}
1713+
1714+
case json::value_t::binary:
1715+
break;
17131716
}
17141717
}
17151718

0 commit comments

Comments
 (0)