aboutsummaryrefslogtreecommitdiff
path: root/src/check_builtin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/check_builtin.cpp')
-rw-r--r--src/check_builtin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/check_builtin.cpp b/src/check_builtin.cpp
index a00dd5def..fc889fb28 100644
--- a/src/check_builtin.cpp
+++ b/src/check_builtin.cpp
@@ -1533,10 +1533,10 @@ bool check_builtin_procedure_directive(CheckerContext *c, Operand *operand, Ast
}
bool is_defined = check_identifier_exists(c->scope, arg);
- gb_unused(is_defined);
+ // gb_unused(is_defined);
operand->type = t_untyped_bool;
operand->mode = Addressing_Constant;
- operand->value = exact_value_bool(false);
+ operand->value = exact_value_bool(is_defined);
} else if (name == "config") {
if (ce->args.count != 2) {