diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-03-08 22:51:16 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-03-08 22:51:16 (GMT) |
commit | e6a53eb44dab26c44e01f4620467c2c5ae0f27e5 (patch) | |
tree | 59277fc50a99e395168027e1ffa8bbe0be18a7cb /generic/tclBinary.c | |
parent | e30b8a9185f7d16573e849b3df2ec1d1791439ea (diff) | |
parent | 2b821c69deba46a4f4634dbbfa6b5b34b6036f9c (diff) | |
download | tcl-e6a53eb44dab26c44e01f4620467c2c5ae0f27e5.zip tcl-e6a53eb44dab26c44e01f4620467c2c5ae0f27e5.tar.gz tcl-e6a53eb44dab26c44e01f4620467c2c5ae0f27e5.tar.bz2 |
Merge 8.7
Diffstat (limited to 'generic/tclBinary.c')
-rw-r--r-- | generic/tclBinary.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclBinary.c b/generic/tclBinary.c index 53d0fbc..cb9cd8e 100644 --- a/generic/tclBinary.c +++ b/generic/tclBinary.c @@ -1391,7 +1391,7 @@ BinaryScanCmd( const char *errorString; const char *str; int offset, size; - size_t length; + size_t length = 0; int i; Tcl_Obj *valuePtr, *elementPtr; @@ -2720,7 +2720,7 @@ BinaryEncodeUu( int lineLength = 61; const unsigned char SingleNewline[] = { (unsigned char) '\n' }; const unsigned char *wrapchar = SingleNewline; - size_t j, offset, count, wrapcharlen = sizeof(SingleNewline); + size_t j, offset, count = 0, wrapcharlen = sizeof(SingleNewline); enum { OPT_MAXLEN, OPT_WRAPCHAR }; static const char *const optStrings[] = { "-maxlen", "-wrapchar", NULL }; |