summaryrefslogtreecommitdiffstats
path: root/generic/tclObj.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2017-03-10 16:41:32 (GMT)
committerdgp <dgp@users.sourceforge.net>2017-03-10 16:41:32 (GMT)
commit99447d298b4baa4001b027b1aa9c9c60fea2098d (patch)
tree5cbd04df6ecd71876d5f053d2f1fff113a28fbad /generic/tclObj.c
parent70498dad4bb1b36989e3c7863e3fd1b3e79864fc (diff)
downloadtcl-99447d298b4baa4001b027b1aa9c9c60fea2098d.zip
tcl-99447d298b4baa4001b027b1aa9c9c60fea2098d.tar.gz
tcl-99447d298b4baa4001b027b1aa9c9c60fea2098d.tar.bz2
Silence valgrind complaints from [representation].
Diffstat (limited to 'generic/tclObj.c')
-rw-r--r--generic/tclObj.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tclObj.c b/generic/tclObj.c
index a346987..d549fdc 100644
--- a/generic/tclObj.c
+++ b/generic/tclObj.c
@@ -2203,6 +2203,7 @@ Tcl_DbNewDoubleObj(
TclDbNewObj(objPtr, file, line);
objPtr->bytes = NULL;
+ objPtr->internalRep.twoPtrValue.ptr2 = NULL; /* valgrind */
objPtr->internalRep.doubleValue = dblValue;
objPtr->typePtr = &tclDoubleType;
return objPtr;