Initialize a more variables in jim.c to allow gcc-4.4 to build.
Fix provided by Benjamin Schmidt <DeMonk@gmx.net>. git-svn-id: svn://svn.berlios.de/openocd/trunk@1797 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
parent
5cff9997c5
commit
ea3ddc7e4f
|
@ -7642,8 +7642,8 @@ static int ScanOneEntry(Jim_Interp *interp, const char *str, long pos,
|
||||||
scanned += 1;
|
scanned += 1;
|
||||||
break;
|
break;
|
||||||
case 'd': case 'o': case 'x': case 'u': case 'i': {
|
case 'd': case 'o': case 'x': case 'u': case 'i': {
|
||||||
jim_wide jwvalue;
|
jim_wide jwvalue = 0;
|
||||||
long lvalue;
|
long lvalue = 0;
|
||||||
char *endp; /* Position where the number finished */
|
char *endp; /* Position where the number finished */
|
||||||
int base = descr->type == 'o' ? 8
|
int base = descr->type == 'o' ? 8
|
||||||
: descr->type == 'x' ? 16
|
: descr->type == 'x' ? 16
|
||||||
|
|
Loading…
Reference in New Issue