summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/helper/jim.c2
1 files changed, 1 insertions, 1 deletions
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) {