From 5e3e204766bc5ce0f6335d12de0c4f0f03f20d00 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 10 Feb 2012 19:58:06 -1000 Subject: Do not evaluate strings as booleans --- src/op.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/op.cc') diff --git a/src/op.cc b/src/op.cc index 893cd834..537f5371 100644 --- a/src/op.cc +++ b/src/op.cc @@ -366,7 +366,7 @@ value_t expr_t::op_t::calc(scope_t& scope, ptr_op_t * locus, const int depth) break; case O_COLON: - assert(! "We should never calculate an O_COLON operator"); + assert("We should never calculate an O_COLON operator" == NULL); break; case O_CONS: -- cgit v1.2.3