fix warning: X enumeration values not handled in switch [-Wswitch-enum]
authorGiel van Schijndel <me@mortis.eu>
Fri, 24 Jun 2011 18:47:26 +0000 (20:47 +0200)
committerGiel van Schijndel <me@mortis.eu>
Wed, 13 Jul 2011 03:10:15 +0000 (05:10 +0200)
commit225f222c9fba7a831e2e5f80ccbba34ed2bca532
tree95b16cabc2ff94021417521ff94296090f35e7db
parentd7f1d200ab5d385c727261621c069dfbc6170e78
fix warning: X enumeration values not handled in switch [-Wswitch-enum]

Add default cases to opcode switches to assert that they should never
occur.

Signed-off-by: Giel van Schijndel <me@mortis.eu>
src/script.cpp