summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/tclIO.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c
index 0d047aa..6461909 100644
--- a/generic/tclIO.c
+++ b/generic/tclIO.c
@@ -707,7 +707,7 @@ TclFinalizeIOSubsystem(void)
TclpFinalizeSockets();
TclpFinalizePipes();
}
-
+
/*
*----------------------------------------------------------------------
*
@@ -4392,7 +4392,8 @@ Write(
ChannelState *statePtr = chanPtr->state;
/* State info for channel */
char *nextNewLine = NULL;
- int endEncoding, saved = 0, total = 0, flushed = 0, needNlFlush = 0;
+ int endEncoding, needNlFlush = 0;
+ int saved = 0, total = 0, flushed = 0;
char safe[BUFFER_PADDING];
int encodingError = 0;
@@ -9784,9 +9785,10 @@ CopyData(
Tcl_Obj *cmdPtr, *errObj = NULL, *bufObj = NULL, *msg = NULL;
Tcl_Channel inChan, outChan;
ChannelState *inStatePtr, *outStatePtr;
- int result = TCL_OK, size;
+ int result = TCL_OK;
Tcl_Size sizeb;
Tcl_WideInt total;
+ int size;
const char *buffer;
int inBinary, outBinary, sameEncoding;
/* Encoding control */