summaryrefslogtreecommitdiff
path: root/tokenizer.c
diff options
context:
space:
mode:
Diffstat (limited to 'tokenizer.c')
-rw-r--r--tokenizer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokenizer.c b/tokenizer.c
index 828b3d4..ab668fc 100644
--- a/tokenizer.c
+++ b/tokenizer.c
@@ -276,7 +276,7 @@ static bool tokenize_string(Tokenizer *t, char *str) {
if (isdigit(*t->s)) {
/* it's a numeric literal */
int base = 10;
- Floating decimal_pow10;
+ Floating decimal_pow10 = 0;
NumLiteral n;
n.kind = NUM_LITERAL_INT;
n.intval = 0;