summaryrefslogtreecommitdiffstats
path: root/generic/tclObj.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclObj.c')
-rw-r--r--generic/tclObj.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/generic/tclObj.c b/generic/tclObj.c
index bd1055e..96ad9e6 100644
--- a/generic/tclObj.c
+++ b/generic/tclObj.c
@@ -1676,9 +1676,6 @@ int SetDuplicatePureObj(
if (bytes && (dupPtr->typePtr == NULL
|| dupPtr->typePtr->updateStringProc == NULL
|| objPtr->typePtr == &tclUniCharStringType
- || objPtr->typePtr == &tclDoubleType
- || objPtr->typePtr == &tclIntType
- || objPtr->typePtr == &tclIndexType
)
) {
if (!TclAttemptInitStringRep(dupPtr, bytes, objPtr->length)) {