From bbd5ed6247b2b683af3beeda0e727e4072c9bd09 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Duraffort?= Date: Sun, 1 Feb 2009 17:23:18 +0100 Subject: [PATCH] vlc_url.h: warning about overriden variable. --- include/vlc_url.h | 3 --- 1 file changed, 3 deletions(-) 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 ) -- 2.39.2