changeset 5892:d8e32b123953 libavformat

Remove a redundant null pointer check
author mstorsjo
date Thu, 25 Mar 2010 21:53:42 +0000
parents 59e4df62d614
children 046e46b938d5
files httpauth.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
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) &&