aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-04-26 08:26:42 (GMT)
committerJouni Malinen <j@w1.fi>2014-04-29 09:52:10 (GMT)
commit5f693cb1b66e58dc6d5f3cf9705eeef88d35ca05 (patch)
tree3ab828ee4f626a29183f9ebbf52b4476af1325c6
parentee4fefc015ffc5d3f32dbbe38ca602b0f6900fc9 (diff)
downloadhostap-5f693cb1b66e58dc6d5f3cf9705eeef88d35ca05.zip
hostap-5f693cb1b66e58dc6d5f3cf9705eeef88d35ca05.tar.gz
hostap-5f693cb1b66e58dc6d5f3cf9705eeef88d35ca05.tar.bz2
WPS HTTP: Remove unused assignment
bbp is not used in the code path that skips trailers. Signed-off-by: Jouni Malinen <j@w1.fi>
-rw-r--r--src/wps/httpread.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/wps/httpread.c b/src/wps/httpread.c
index b51d975..6d2d11c 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)