[git commit] telnet: placate compiler's warning
Denys Vlasenko
vda.linux at googlemail.com
Wed Jan 9 12:12:58 UTC 2019
commit: https://git.busybox.net/busybox/commit/?id=841912311252c861d34f5356cb32acc95f008b0f
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
networking/telnet.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
More information about the busybox-cvs
mailing list