diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-08-18 22:06:54 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-08-18 22:06:54 (GMT) |
commit | 2b886b868c8231e01906b7435b9b71f301f91e90 (patch) | |
tree | 56fbdeda6cb9713267ccfc74c96ee601243f1d68 /generic/tclBinary.c | |
parent | a61edf450cec98aaa1d893e59c465f4eb181301c (diff) | |
parent | b916fb2e6064a68a3848169f1d6263396112d330 (diff) | |
download | tcl-2b886b868c8231e01906b7435b9b71f301f91e90.zip tcl-2b886b868c8231e01906b7435b9b71f301f91e90.tar.gz tcl-2b886b868c8231e01906b7435b9b71f301f91e90.tar.bz2 |
merge core-8-6-branch
Diffstat (limited to 'generic/tclBinary.c')
-rw-r--r-- | generic/tclBinary.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclBinary.c b/generic/tclBinary.c index 5772bc6..a693894 100644 --- a/generic/tclBinary.c +++ b/generic/tclBinary.c @@ -536,7 +536,7 @@ SetByteArrayFromAny( const char *src, *srcEnd; unsigned char *dst; ByteArray *byteArrayPtr; - Tcl_UniChar ch; + Tcl_UniChar ch = 0; if (objPtr->typePtr == &properByteArrayType) { return TCL_OK; @@ -1300,7 +1300,7 @@ BinaryFormatCmd( badField: { - Tcl_UniChar ch; + Tcl_UniChar ch = 0; char buf[TCL_UTF_MAX + 1]; TclUtfToUniChar(errorString, &ch); @@ -1670,7 +1670,7 @@ BinaryScanCmd( badField: { - Tcl_UniChar ch; + Tcl_UniChar ch = 0; char buf[TCL_UTF_MAX + 1]; TclUtfToUniChar(errorString, &ch); |