Mercurial > libavformat.hg
diff httpauth.c @ 5892:d8e32b123953 libavformat
Remove a redundant null pointer check
| author | mstorsjo |
|---|---|
| date | Thu, 25 Mar 2010 21:53:42 +0000 |
| parents | a1a309c4a751 |
| children | 9f1b267a30f5 |
line wrap: on
line diff
--- 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) &&
