summaryrefslogtreecommitdiffstats
path: root/generic/tclIndexObj.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-12-04 15:12:12 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-12-04 15:12:12 (GMT)
commit19d35f4ef53660720d360042a30f3d9dafd5e5be (patch)
tree67fa2f16a142415270d6e1682f46288b6310666f /generic/tclIndexObj.c
parent279358fa3f6fd886a5cf940ea9223c5a51d6f304 (diff)
downloadtcl-19d35f4ef53660720d360042a30f3d9dafd5e5be.zip
tcl-19d35f4ef53660720d360042a30f3d9dafd5e5be.tar.gz
tcl-19d35f4ef53660720d360042a30f3d9dafd5e5be.tar.bz2
more eliminations of 'deprecated' calls
Diffstat (limited to 'generic/tclIndexObj.c')
-rw-r--r--generic/tclIndexObj.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/generic/tclIndexObj.c b/generic/tclIndexObj.c
index 4583a20..63e10f1 100644
--- a/generic/tclIndexObj.c
+++ b/generic/tclIndexObj.c
@@ -208,10 +208,6 @@ Tcl_GetIndexFromObjStruct(
entryPtr = NEXT_ENTRY(entryPtr, offset), idx++) {
for (p1 = key, p2 = *entryPtr; *p1 == *p2; p1++, p2++) {
if (*p1 == '\0') {
- if (p1 == key) {
- /* empty keys never match */
- continue;
- }
index = idx;
goto done;
}