diff options
author | dgp <dgp@users.sourceforge.net> | 2017-03-10 16:41:32 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2017-03-10 16:41:32 (GMT) |
commit | 99447d298b4baa4001b027b1aa9c9c60fea2098d (patch) | |
tree | 5cbd04df6ecd71876d5f053d2f1fff113a28fbad /generic/tclObj.c | |
parent | 70498dad4bb1b36989e3c7863e3fd1b3e79864fc (diff) | |
download | tcl-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.c | 1 |
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; |