# HG changeset patch # User mstorsjo # Date 1269554022 0 # Node ID d8e32b123953e3108a2a126fd690a437afc58b34 # Parent 59e4df62d61414d9738cb2e75be39d666b49cbdf Remove a redundant null pointer check diff -r 59e4df62d614 -r d8e32b123953 httpauth.c --- a/httpauth.c Thu Mar 25 21:49:43 2010 +0000 +++ b/httpauth.c Thu Mar 25 21:53:42 2010 +0000 @@ -143,9 +143,6 @@ void ff_http_auth_handle_header(HTTPAuthState *state, const char *key, const char *value) { - if (!state) - return; - if (!strcmp(key, "WWW-Authenticate")) { const char *p; if (av_stristart(value, "Basic ", &p) &&