telnet: placate compiler's warning
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 9 Jan 2019 12:12:58 +0000 (13:12 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 9 Jan 2019 12:12:58 +0000 (13:12 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/telnet.c

index 94c7512fcecda5f9e01c6e3eb48bb186be022500..fa1628723393017e4113a1bc7650c723b52187ac 100644 (file)
@@ -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);