From 5cff9997c5c18a60a8c3159de59332fe6f1d0819 Mon Sep 17 00:00:00 2001 From: zwelch Date: Fri, 15 May 2009 22:10:32 +0000 Subject: [PATCH] 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 --- src/helper/jim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.5