summaryrefslogtreecommitdiffstats
path: root/generic/tclCmdIL.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-07-01 06:21:55 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-07-01 06:21:55 (GMT)
commit3dc03bc4ac97274d4f260b16b1b7f5e5d550666a (patch)
tree7e8cec9383e19d9a5599cc2f6e21dcdbb6836db4 /generic/tclCmdIL.c
parent94741577ee73184dd04e947e9a87bc9227c4ebab (diff)
downloadtcl-3dc03bc4ac97274d4f260b16b1b7f5e5d550666a.zip
tcl-3dc03bc4ac97274d4f260b16b1b7f5e5d550666a.tar.gz
tcl-3dc03bc4ac97274d4f260b16b1b7f5e5d550666a.tar.bz2
Starting to update all callers of TclGetStringFromObj() to use size_t variables
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 2eb089a..018a9f5 100644
--- a/generic/tclCmdIL.c
+++ b/generic/tclCmdIL.c
@@ -2889,7 +2889,7 @@ Tcl_LsearchObjCmd(
Tcl_Obj *const objv[]) /* Argument values. */
{
const char *bytes, *patternBytes;
- int i, match, index, result=TCL_OK, listc, length, elemLen, bisect;
+ int i, match, index, result=TCL_OK, listc, length = 0, elemLen, bisect;
int allocatedIndexVector = 0;
int dataType, isIncreasing, lower, upper, start, groupSize, groupOffset;
Tcl_WideInt patWide, objWide;