summaryrefslogtreecommitdiffstats
path: root/generic/tclIORTrans.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-10-07 12:01:36 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-10-07 12:01:36 (GMT)
commitd4ee121318a88eea4cb0e445c97caa75c2b05967 (patch)
tree0333b413be5bfc902ab83b5b1f137d32fcb4e390 /generic/tclIORTrans.c
parent44adece941d2f854196964eaaca9941117bb7c68 (diff)
parentdcc0c4435072feac4c32f8947c650f9123d1f184 (diff)
downloadtcl-d4ee121318a88eea4cb0e445c97caa75c2b05967.zip
tcl-d4ee121318a88eea4cb0e445c97caa75c2b05967.tar.gz
tcl-d4ee121318a88eea4cb0e445c97caa75c2b05967.tar.bz2
Fix gcc warnings (discovered with latest mingw, based on gcc 4.6.1)
Diffstat (limited to 'generic/tclIORTrans.c')
-rw-r--r--generic/tclIORTrans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclIORTrans.c b/generic/tclIORTrans.c
index b095dcf..6c9a41b 100644
--- a/generic/tclIORTrans.c
+++ b/generic/tclIORTrans.c
@@ -885,7 +885,7 @@ ReflectClose(
{
ReflectedTransform *rtPtr = clientData;
int errorCode, errorCodeSet = 0;
- int result; /* Result code for 'close' */
+ int result = TCL_OK; /* Result code for 'close' */
Tcl_Obj *resObj; /* Result data for 'close' */
ReflectedTransformMap *rtmPtr;
/* Map of reflected transforms with handlers