]> granicus.if.org Git - curl/commitdiff
http: removed self assignment
authorDaniel Stenberg <daniel@haxx.se>
Fri, 22 May 2015 07:57:16 +0000 (09:57 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 22 May 2015 07:57:16 +0000 (09:57 +0200)
Follow-up fix from b0143a2a33f0

Detected by coverity. CID 1299429

lib/http.c

index 2745160284c67ed6173c788bc85ae2a186482084..ef55364eeacc5a67d0f03aa6905c8bb67935b2ec 100644 (file)
@@ -1475,8 +1475,6 @@ CURLcode Curl_http_done(struct connectdata *conn,
 #endif
 
   /* set the proper values (possibly modified on POST) */
-  data->set.fread_func = data->set.fread_func; /* restore */
-  data->set.in = data->set.in; /* restore */
   conn->seek_func = data->set.seek_func; /* restore */
   conn->seek_client = data->set.seek_client; /* restore */