[vlc-devel] commit: vlc_url.h: warning about overriden variable. ( Rémi Duraffort )

git version control git at videolan.org
Tue Feb 3 11:50:40 CET 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun Feb  1 17:23:18 2009 +0100| [bbd5ed6247b2b683af3beeda0e727e4072c9bd09] | committer: Rémi Duraffort 

vlc_url.h: warning about overriden variable.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bbd5ed6247b2b683af3beeda0e727e4072c9bd09
---

 include/vlc_url.h |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/include/vlc_url.h b/include/vlc_url.h
index 7cedd5b..dc2a021 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 )




More information about the vlc-devel mailing list