From: zwelch Date: Fri, 15 May 2009 22:10:32 +0000 (+0000) Subject: Initialize value of objPtr local variable; prevents warning w/ gcc-4.4. X-Git-Tag: v0.2.0~714 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5cff9997c5c18a60a8c3159de59332fe6f1d0819;p=openocd Initialize value of objPtr local variable; prevents warning w/ gcc-4.4. git-svn-id: svn://svn.berlios.de/openocd/trunk@1796 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- diff --git a/src/helper/jim.c b/src/helper/jim.c index 601e0eb9..35ccecf0 100644 --- a/src/helper/jim.c +++ b/src/helper/jim.c @@ -5919,7 +5919,7 @@ int Jim_DictKey(Jim_Interp *interp, Jim_Obj *dictPtr, Jim_Obj *keyPtr, int Jim_DictKeysVector(Jim_Interp *interp, Jim_Obj *dictPtr, Jim_Obj *const *keyv, int keyc, Jim_Obj **objPtrPtr, int flags) { - Jim_Obj *objPtr; + Jim_Obj *objPtr = NULL; int i; if (keyc == 0) {