From: Daniel Stenberg Date: Sat, 18 Oct 2003 20:24:54 +0000 (+0000) Subject: removed gcc -Wshadow warning X-Git-Tag: curl-7_10_8~90 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7ad69f59c74dfe9aac6e6114df6bbce48625317f;p=thirdparty%2Fcurl.git removed gcc -Wshadow warning --- diff --git a/lib/telnet.c b/lib/telnet.c index 64715b0dda..90f96d1ff4 100644 --- a/lib/telnet.c +++ b/lib/telnet.c @@ -870,13 +870,13 @@ void telrcv(struct connectdata *conn, int count) /* Number of bytes received */ { unsigned char c; - int index = 0; + int in = 0; struct SessionHandle *data = conn->data; struct TELNET *tn = (struct TELNET *)conn->proto.telnet; while(count--) { - c = inbuf[index++]; + c = inbuf[in++]; switch (tn->telrcv_state) {