summaryrefslogtreecommitdiffstats
path: root/generic/tclDictObj.c
diff options
context:
space:
mode:
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 2694cf8..eb56e4a 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.65 2008/07/19 22:50:42 nijtmans Exp $
+ * RCS: @(#) $Id: tclDictObj.c,v 1.66 2008/07/20 17:55:50 dkf Exp $
*/
#include "tclInt.h"
@@ -593,15 +593,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.
*/