summaryrefslogtreecommitdiffstats
path: root/generic/tclDictObj.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2008-07-20 22:02:36 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2008-07-20 22:02:36 (GMT)
commit4102bed2736a6e342da6b5f44520c4bd9f8f993b (patch)
tree3ba82ab837c22df5e44f381d1fa2f4dd661f4e40 /generic/tclDictObj.c
parent1b5339323d5019362fce5d4438be34421f337dc8 (diff)
downloadtcl-4102bed2736a6e342da6b5f44520c4bd9f8f993b.zip
tcl-4102bed2736a6e342da6b5f44520c4bd9f8f993b.tar.gz
tcl-4102bed2736a6e342da6b5f44520c4bd9f8f993b.tar.bz2
Fix [Bug 2008248] and make dict->list->dict round trip efficient to boot.
Diffstat (limited to 'generic/tclDictObj.c')
-rw-r--r--generic/tclDictObj.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/generic/tclDictObj.c b/generic/tclDictObj.c
index a33802d..c74f10f 100644
--- a/generic/tclDictObj.c
+++ b/generic/tclDictObj.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclDictObj.c,v 1.56 2007/12/13 15:23:16 dgp Exp $
+ * RCS: @(#) $Id: tclDictObj.c,v 1.56.2.1 2008/07/20 22:02:37 dkf Exp $
*/
#include "tclInt.h"
@@ -588,15 +588,6 @@ SetDictFromAny(
}
/*
- * If the list is shared its string rep must not be lost so it still
- * is the same list.
- */
-
- if (Tcl_IsShared(objPtr)) {
- (void) TclGetString(objPtr);
- }
-
- /*
* Build the hash of key/value pairs.
*/