From: RĂ©mi Duraffort Date: Sun, 1 Feb 2009 16:23:18 +0000 (+0100) Subject: vlc_url.h: warning about overriden variable. X-Git-Tag: 1.0.0-pre1~889 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=bbd5ed6247b2b683af3beeda0e727e4072c9bd09;p=vlc vlc_url.h: warning about overriden variable. --- diff --git a/include/vlc_url.h b/include/vlc_url.h index 7cedd5b8b0..dc2a021031 100644 --- a/include/vlc_url.h +++ b/include/vlc_url.h @@ -85,7 +85,6 @@ static inline void vlc_UrlParse( vlc_url_t *url, const char *psz_url, p = strstr( psz_parse, ":/" ); if( p != NULL ) { - char *p2; for( p2 = psz_parse; p2 < p; p2++ ) { #define I(i,a,b) ( (a) <= (i) && (i) <= (b) ) @@ -132,8 +131,6 @@ static inline void vlc_UrlParse( vlc_url_t *url, const char *psz_url, p = strchr( psz_parse, '/' ); if( !p || psz_parse < p ) { - char *p2; - /* We have a host[:port] */ url->psz_host = strdup( psz_parse ); if( p )