removed gcc -Wshadow warning

This commit is contained in:
Daniel Stenberg 2003-10-18 20:24:54 +00:00
parent 83b82e4472
commit 7ad69f59c7

View File

@ -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)
{