GLK: QUEST: Fix Missing Default Switch Cases

These are flagged by GCC if -Wswitch-default is enabled.
This commit is contained in:
D G Turner 2019-12-16 01:27:51 +00:00
parent 316bb297b3
commit 22234934fe

View File

@ -93,6 +93,8 @@ int eval_int(String s) {
case '/':
return arg1 / arg2;
// TODO: division should use accountant's round
default:
break;
}
return 0;
}