summaryrefslogtreecommitdiffstats
path: root/generic/tclCmdIL.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-05-27 10:31:51 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-05-27 10:31:51 (GMT)
commita5ee3631c378f7788e6bc34ff322ea6592419abf (patch)
treee4967356c24c8fdabb8dd587441e7f5a86f00a9c /generic/tclCmdIL.c
parent6d2f85de207c0d6108fd44fba6ccf039cd8d858d (diff)
downloadtcl-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.c2
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;
/*