diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-05-27 10:31:51 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-05-27 10:31:51 (GMT) |
commit | a5ee3631c378f7788e6bc34ff322ea6592419abf (patch) | |
tree | e4967356c24c8fdabb8dd587441e7f5a86f00a9c /generic/tclCmdIL.c | |
parent | 6d2f85de207c0d6108fd44fba6ccf039cd8d858d (diff) | |
download | tcl-a5ee3631c378f7788e6bc34ff322ea6592419abf.zip tcl-a5ee3631c378f7788e6bc34ff322ea6592419abf.tar.gz tcl-a5ee3631c378f7788e6bc34ff322ea6592419abf.tar.bz2 |
Fix "possibly uninitialized variable" warning, seen with gcc-11 (however harmless)
Diffstat (limited to 'generic/tclCmdIL.c')
-rw-r--r-- | generic/tclCmdIL.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclCmdIL.c b/generic/tclCmdIL.c index 7583775..75e572d 100644 --- a/generic/tclCmdIL.c +++ b/generic/tclCmdIL.c @@ -1269,7 +1269,7 @@ TclInfoFrame( { Interp *iPtr = (Interp *) interp; Tcl_Obj *tmpObj; - Tcl_Obj *lv[20]; /* Keep uptodate when more keys are added to + Tcl_Obj *lv[20] = {NULL}; /* Keep uptodate when more keys are added to * the dict. */ int lc = 0; /* |