]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
telnet.c: fix compiler warning
authorYang Tse <yangsita@gmail.com>
Fri, 7 Oct 2011 23:27:03 +0000 (01:27 +0200)
committerYang Tse <yangsita@gmail.com>
Fri, 7 Oct 2011 23:27:03 +0000 (01:27 +0200)
lib/telnet.c

index d1bc43cc90651bc4fcb986c5d90a9d0677aa46d5..8906322140ab7a3d9392a4d1970969c71c1be445 100644 (file)
@@ -766,7 +766,6 @@ static CURLcode check_telnet_options(struct connectdata *conn)
   struct curl_slist *beg;
   char option_keyword[128];
   char option_arg[256];
-  char *buf;
   struct SessionHandle *data = conn->data;
   struct TELNET *tn = (struct TELNET *)conn->data->state.proto.telnet;
   CURLcode result = CURLE_OK;