diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-15 23:35:27 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-15 23:35:27 +0000 |
commit | ea3ddc7e4f0bbd82c6d15210a0699a9941480174 (patch) | |
tree | aa93ebbf3b941b73d2a5cb9f304b2f15055fdc78 | |
parent | 5cff9997c5c18a60a8c3159de59332fe6f1d0819 (diff) | |
download | openocd+libswd-ea3ddc7e4f0bbd82c6d15210a0699a9941480174.tar.gz openocd+libswd-ea3ddc7e4f0bbd82c6d15210a0699a9941480174.tar.bz2 openocd+libswd-ea3ddc7e4f0bbd82c6d15210a0699a9941480174.tar.xz openocd+libswd-ea3ddc7e4f0bbd82c6d15210a0699a9941480174.zip |
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
-rw-r--r-- | src/helper/jim.c | 4 |
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 |