]> git.sur5r.net Git - openocd/blobdiff - src/helper/jim.c
Eliminate MixedCaps symbol from public JTAG TAP API:
[openocd] / src / helper / jim.c
index 35ccecf00bbe6bae2e46674c98a416e1d2d005c9..78b6e6cedabcad7a8d65ca562cec02c1b1eb2fca 100644 (file)
@@ -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