]> granicus.if.org Git - curl/commitdiff
http2: fix "Value stored to 'hdbuf' is never read" scan-build error
authorDaniel Stenberg <daniel@haxx.se>
Mon, 20 Nov 2017 22:12:19 +0000 (23:12 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 21 Nov 2017 08:02:41 +0000 (09:02 +0100)
lib/http2.c

index 5518a70ab6341b582b44f09a63aa72bbe907ff2d..86419cb6dd14b34c549d64c79d09d1d4d70a1951 100644 (file)
@@ -1848,8 +1848,6 @@ static ssize_t http2_send(struct connectdata *conn, int sockindex,
     goto fail;
   }
 
-  hdbuf = end + 1;
-
   end = line_end;
   nva[2].name = (unsigned char *)":scheme";
   nva[2].namelen = strlen((char *)nva[2].name);