diff options
| author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2015-09-23 12:19:12 (GMT) |
|---|---|---|
| committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2015-09-23 12:19:12 (GMT) |
| commit | ff2618d5bf73f39b1e919f01ee6dcef3fc717f23 (patch) | |
| tree | 0f51141ce77037f18b3777c23c9ab7666b590eea /generic/tclObj.c | |
| parent | eb3d4efff42cace64141f1f0d62d03560f84e981 (diff) | |
| parent | 059b07b9aa3f1c4375b20f3c8d8f23ecee1690f9 (diff) | |
| download | tcl-ff2618d5bf73f39b1e919f01ee6dcef3fc717f23.zip tcl-ff2618d5bf73f39b1e919f01ee6dcef3fc717f23.tar.gz tcl-ff2618d5bf73f39b1e919f01ee6dcef3fc717f23.tar.bz2 | |
Merge trunk
Diffstat (limited to 'generic/tclObj.c')
| -rw-r--r-- | generic/tclObj.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/generic/tclObj.c b/generic/tclObj.c index f9216b3..15ea91f 100644 --- a/generic/tclObj.c +++ b/generic/tclObj.c @@ -3971,12 +3971,11 @@ TclCompareObjKeys( /* * If the object pointers are the same then they match. - */ - - if (objPtr1 == objPtr2) { - return 1; - } - + * OPT: this comparison was moved to the caller + + if (objPtr1 == objPtr2) return 1; + */ + /* * Don't use Tcl_GetStringFromObj as it would prevent l1 and l2 being * in a register. |
