summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authorVictor van den Elzen <victor.vde@gmail.com>2008-06-25 11:41:40 +0200
committerVictor van den Elzen <victor.vde@gmail.com>2008-07-16 12:20:25 +0200
commitc7deefaa3a45408bc6967196ce2234c76460182a (patch)
treec218de385b466c043efc5da20071e8c4e43a3b98 /eval.c
parentc82c3724952583a1a8e5546096a59c1b7bca601e (diff)
downloadnasm-c7deefaa3a45408bc6967196ce2234c76460182a.tar.gz
nasm-c7deefaa3a45408bc6967196ce2234c76460182a.tar.bz2
nasm-c7deefaa3a45408bc6967196ce2234c76460182a.zip
fix unitialized variable in eval_strfunc
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index 917dcfc..4fd3b4b 100644
--- a/eval.c
+++ b/eval.c
@@ -669,6 +669,7 @@ static expr *eval_strfunc(enum strfunc type)
int64_t val;
bool parens, rn_warn;
+ parens = false;
i = scan(scpriv, tokval);
if (i == '(') {
parens = true;