summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2014-03-06 15:51:06 (GMT)
committerdgp <dgp@users.sourceforge.net>2014-03-06 15:51:06 (GMT)
commita59f5c70234be1134e3752519daa601c3c850365 (patch)
treeaff0274620ae687c54e0eb275c4151e5a2fb914c
parent94a4d6ac65eed79a3fe89a71d1c2a429793300bc (diff)
downloadtcl-a59f5c70234be1134e3752519daa601c3c850365.zip
tcl-a59f5c70234be1134e3752519daa601c3c850365.tar.gz
tcl-a59f5c70234be1134e3752519daa601c3c850365.tar.bz2
Variable "rawStart" serves no purpose.
-rw-r--r--generic/tclIO.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c
index 821d111..b0d0e32 100644
--- a/generic/tclIO.c
+++ b/generic/tclIO.c
@@ -4464,7 +4464,7 @@ FilterInputBytes(
ChannelState *statePtr = chanPtr->state;
/* State info for channel */
ChannelBuffer *bufPtr;
- char *raw, *rawStart, *dst;
+ char *raw, *dst;
int offset, toRead, dstNeeded, spaceLeft, result, rawLen;
Tcl_Obj *objPtr;
#define ENCODING_LINESIZE 20 /* Lower bound on how many bytes to convert at
@@ -4521,8 +4521,7 @@ FilterInputBytes(
* string rep if we need more space.
*/
- rawStart = RemovePoint(bufPtr);
- raw = rawStart;
+ raw = RemovePoint(bufPtr);
rawLen = BytesLeft(bufPtr);
dst = *gsPtr->dstPtr;