aboutsummaryrefslogtreecommitdiff
path: root/src/check_builtin.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-10-03 12:32:51 +0100
committergingerBill <bill@gingerbill.org>2021-10-03 12:32:51 +0100
commit8af6b6fa18102144d11edae2ce639be3e6b41721 (patch)
tree345ce0ab1939ecc7913aaf8726b7ee943160b412 /src/check_builtin.cpp
parentf48f06e7b78134c81d2888c472d41056b23810f2 (diff)
Remove debug code
Diffstat (limited to 'src/check_builtin.cpp')
-rw-r--r--src/check_builtin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_builtin.cpp b/src/check_builtin.cpp
index 76810ef8c..57788cc19 100644
--- a/src/check_builtin.cpp
+++ b/src/check_builtin.cpp
@@ -753,7 +753,7 @@ bool check_builtin_procedure(CheckerContext *c, Operand *operand, Ast *call, i32
field_name = field_arg->tav.value.value_string;
}
if (field_name.len == 0) {
- error(field_arg, "Expected a constant (non-empty) string for field argument: %d", field_arg->tav.value.kind);
+ error(field_arg, "Expected a constant (non-empty) string for field argument");
return false;
}