From bf94c2997d9bb6f9ece2342fc158e5961af12ca5 Mon Sep 17 00:00:00 2001 From: Ruslan Kuchumov Date: Sat, 16 Aug 2014 23:41:14 +0000 Subject: [PATCH] unusable variable --- src/telxcc.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/telxcc.c b/src/telxcc.c index 2b810266..1f4f9510 100644 --- a/src/telxcc.c +++ b/src/telxcc.c @@ -911,16 +911,12 @@ void tlt_read_rcwt() { if (buf == NULL) fatal(EXIT_NOT_ENOUGH_MEMORY, "Not enough memory"); - int nread = 0; - while(1) { - buffered_read(buf, len); past += result; - nread += (int) result; if (result != len) { - end_of_file=1; + end_of_file = 1; return; }