diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-11-22 08:47:37 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-11-22 08:47:37 (GMT) |
commit | 6a9ba52a751f4ec6c3c99ffe862e44d529e6e82c (patch) | |
tree | fdf693839484bb74c4ea5b6b5b1e34f6658d50f4 /generic/tclIndexObj.c | |
parent | a27fb467cc90bd8be397884b352d3b152cdbb5f5 (diff) | |
parent | 7ed45348b38b2e3a94e990403a3b9854cc9b5922 (diff) | |
download | tcl-6a9ba52a751f4ec6c3c99ffe862e44d529e6e82c.zip tcl-6a9ba52a751f4ec6c3c99ffe862e44d529e6e82c.tar.gz tcl-6a9ba52a751f4ec6c3c99ffe862e44d529e6e82c.tar.bz2 |
Fix bug reported by Brian Griffin:
<p>[http://code.activestate.com/lists/tcl-core/12524/]
FossilOrigin-Name: 6509c9b57114f9d87d5bca569b5c96b885f9d8b0
Diffstat (limited to 'generic/tclIndexObj.c')
-rw-r--r-- | generic/tclIndexObj.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/generic/tclIndexObj.c b/generic/tclIndexObj.c index 2d87205..944fb8e 100644 --- a/generic/tclIndexObj.c +++ b/generic/tclIndexObj.c @@ -202,10 +202,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; } |