summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 9dd2f62..2a8edf1 100644
--- a/eval.c
+++ b/eval.c
@@ -234,7 +234,6 @@ static bool val_cast(Location where, Value *out, Value cast, Type *type) {
case VAL_BOOL:
out->floatv = cast.boolv ? 1.0 : 0.0; break;
case VAL_CHAR:
- out->floatv = (FloatVal)cast.charv; break;
case VAL_VOID:
case VAL_FN:
case VAL_ARR: