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__archive__
parent
21c8284233
commit
5cff9997c5
|
@ -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,
|
int Jim_DictKeysVector(Jim_Interp *interp, Jim_Obj *dictPtr,
|
||||||
Jim_Obj *const *keyv, int keyc, Jim_Obj **objPtrPtr, int flags)
|
Jim_Obj *const *keyv, int keyc, Jim_Obj **objPtrPtr, int flags)
|
||||||
{
|
{
|
||||||
Jim_Obj *objPtr;
|
Jim_Obj *objPtr = NULL;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if (keyc == 0) {
|
if (keyc == 0) {
|
||||||
|
|
Loading…
Reference in New Issue