summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2023-09-18 14:37:33 (GMT)
committerdgp <dgp@users.sourceforge.net>2023-09-18 14:37:33 (GMT)
commitfaa2dd58c7da0145ca7d1fda1bed3d8de3514db0 (patch)
tree4a8d24e79eb378340d1b36cacc849c66d9e89f8a
parentb52d1ad00a9abb3ad9b0b89a71fd6d3d969679c0 (diff)
downloadtcl-faa2dd58c7da0145ca7d1fda1bed3d8de3514db0.zip
tcl-faa2dd58c7da0145ca7d1fda1bed3d8de3514db0.tar.gz
tcl-faa2dd58c7da0145ca7d1fda1bed3d8de3514db0.tar.bz2
silence compiler warning about uninitialized variable
-rw-r--r--generic/tclCmdMZ.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclCmdMZ.c b/generic/tclCmdMZ.c
index c1b6044..dea4cbe 100644
--- a/generic/tclCmdMZ.c
+++ b/generic/tclCmdMZ.c
@@ -2725,7 +2725,7 @@ StringCmpCmd(
*/
int match, nocase, status;
- Tcl_Size reqlength;
+ Tcl_Size reqlength = -1;
status = StringCmpOpts(interp, objc, objv, &nocase, &reqlength);
if (status != TCL_OK) {