Commit bbd5ed62 authored by Rémi Duraffort's avatar Rémi Duraffort

vlc_url.h: warning about overriden variable.

parent b10e0509
...@@ -85,7 +85,6 @@ static inline void vlc_UrlParse( vlc_url_t *url, const char *psz_url, ...@@ -85,7 +85,6 @@ static inline void vlc_UrlParse( vlc_url_t *url, const char *psz_url,
p = strstr( psz_parse, ":/" ); p = strstr( psz_parse, ":/" );
if( p != NULL ) if( p != NULL )
{ {
char *p2;
for( p2 = psz_parse; p2 < p; p2++ ) for( p2 = psz_parse; p2 < p; p2++ )
{ {
#define I(i,a,b) ( (a) <= (i) && (i) <= (b) ) #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, ...@@ -132,8 +131,6 @@ static inline void vlc_UrlParse( vlc_url_t *url, const char *psz_url,
p = strchr( psz_parse, '/' ); p = strchr( psz_parse, '/' );
if( !p || psz_parse < p ) if( !p || psz_parse < p )
{ {
char *p2;
/* We have a host[:port] */ /* We have a host[:port] */
url->psz_host = strdup( psz_parse ); url->psz_host = strdup( psz_parse );
if( p ) if( p )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment