Browse Source

WPS HTTP: Remove unused assignment

bbp is not used in the code path that skips trailers.

Signed-off-by: Jouni Malinen <j@w1.fi>
Jouni Malinen 11 years ago
parent
commit
5f693cb1b6
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/wps/httpread.c

+ 0 - 1
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)