summaryrefslogtreecommitdiffstats
path: root/generic/tclLoad.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-08-18 21:39:16 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-08-18 21:39:16 (GMT)
commitb916fb2e6064a68a3848169f1d6263396112d330 (patch)
tree89be35bb25db2b233d3b2644ab0316f9a107d08c /generic/tclLoad.c
parentf338acabb27d64eddd5ccccd3adf4fdbfbcc94f9 (diff)
parent80272e6e9728da345d243a0af6def26dbc86b255 (diff)
downloadtcl-b916fb2e6064a68a3848169f1d6263396112d330.zip
tcl-b916fb2e6064a68a3848169f1d6263396112d330.tar.gz
tcl-b916fb2e6064a68a3848169f1d6263396112d330.tar.bz2
RFE [http://core.tcl.tk/tk/info/6c0d7aec67|6c0d7aec67]: Better surrogate handling for TCL_UTF_MAX==4. No change when TCL_UTF_MAX==3. (This commit is actually meant for androwish, in order to improve surrogate handling for TCL_UTF_MAX==4)
Diffstat (limited to 'generic/tclLoad.c')
-rw-r--r--generic/tclLoad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclLoad.c b/generic/tclLoad.c
index 942e6b4..f1bd248 100644
--- a/generic/tclLoad.c
+++ b/generic/tclLoad.c
@@ -130,7 +130,7 @@ Tcl_LoadObjCmd(
Tcl_PackageInitProc *initProc;
const char *p, *fullFileName, *packageName;
Tcl_LoadHandle loadHandle;
- Tcl_UniChar ch;
+ Tcl_UniChar ch = 0;
unsigned len;
int index, flags = 0;
Tcl_Obj *const *savedobjv = objv;