]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
WPS HTTP: Remove unused assignment
authorJouni Malinen <j@w1.fi>
Sat, 26 Apr 2014 08:26:42 +0000 (11:26 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 29 Apr 2014 09:52:10 +0000 (12:52 +0300)
bbp is not used in the code path that skips trailers.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/wps/httpread.c

index b51d975712538b59e47b27f79caab71c244f5800..6d2d11c49c7fb6ae5da62e4e608b117227b9a814 100644 (file)
@@ -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)