From 5f693cb1b66e58dc6d5f3cf9705eeef88d35ca05 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 26 Apr 2014 11:26:42 +0300 Subject: [PATCH] WPS HTTP: Remove unused assignment bbp is not used in the code path that skips trailers. Signed-off-by: Jouni Malinen --- src/wps/httpread.c | 1 - 1 file changed, 1 deletion(-) 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)