aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2019-01-09 13:12:58 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2019-01-09 13:12:58 +0100
commit841912311252c861d34f5356cb32acc95f008b0f (patch)
tree51de541727c1a67bdd38dfd3336b57b37d7abbaa
parentecf02e8b83056b2ac36d9e09c0a8c9bff8bfecd1 (diff)
downloadbusybox-841912311252c861d34f5356cb32acc95f008b0f.tar.gz
telnet: placate compiler's warning
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--networking/telnet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/telnet.c b/networking/telnet.c
index 94c7512fc..fa1628723 100644
--- a/networking/telnet.c
+++ b/networking/telnet.c
@@ -248,7 +248,7 @@ static void handle_net_input(int len)
{
byte c;
int i;
- int cstart;
+ int cstart = cstart; /* for compiler */
i = 0;
//bb_error_msg("[%u,'%.*s']", G.telstate, len, G.buf);