From: Jouni Malinen Date: Sat, 26 Apr 2014 08:26:42 +0000 (+0300) Subject: WPS HTTP: Remove unused assignment X-Git-Tag: hostap_2_2~217 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f693cb1b66e58dc6d5f3cf9705eeef88d35ca05;p=thirdparty%2Fhostap.git WPS HTTP: Remove unused assignment bbp is not used in the code path that skips trailers. Signed-off-by: Jouni Malinen --- diff --git a/src/wps/httpread.c b/src/wps/httpread.c index b51d97571..6d2d11c49 100644 --- a/src/wps/httpread.c +++ b/src/wps/httpread.c @@ -617,7 +617,6 @@ static void httpread_read_handler(int sd, void *eloop_ctx, void *sock_ctx) * We do NOT support trailers except to skip them -- * this is supported (generally) by the http spec. */ - bbp = h->body + h->body_nbytes; for (;;) { int c; if (nread <= 0)