summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/helper/jim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helper/jim.c b/src/helper/jim.c
index 35ccecf0..78b6e6ce 100644
--- a/src/helper/jim.c
+++ b/src/helper/jim.c
@@ -7642,8 +7642,8 @@ static int ScanOneEntry(Jim_Interp *interp, const char *str, long pos,
scanned += 1;
break;
case 'd': case 'o': case 'x': case 'u': case 'i': {
- jim_wide jwvalue;
- long lvalue;
+ jim_wide jwvalue = 0;
+ long lvalue = 0;
char *endp; /* Position where the number finished */
int base = descr->type == 'o' ? 8
: descr->type == 'x' ? 16