From 60f198a77497f54fb12c2e048d64ce026c467812 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Thu, 25 Mar 2010 21:53:42 +0000 Subject: Remove a redundant null pointer check Originally committed as revision 22679 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/httpauth.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'libavformat/httpauth.c') diff --git a/libavformat/httpauth.c b/libavformat/httpauth.c index d6ff6fdfd4..d82f3a98f1 100644 --- a/libavformat/httpauth.c +++ b/libavformat/httpauth.c @@ -143,9 +143,6 @@ static void choose_qop(char *qop, int size) 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) && -- cgit v1.2.3