[vlc-devel] commit: xtag: comment out xtag_snprint wich is never used. ( Rémi Duraffort )

git version control git at videolan.org
Wed Feb 25 19:47:53 CET 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Wed Feb 25 14:18:40 2009 +0100| [fd80be2b14b55b096ccab05f9cc4ae77fb4f1b59] | committer: Rémi Duraffort 

xtag: comment out xtag_snprint wich is never used.

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

 modules/misc/xml/xtag.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/modules/misc/xml/xtag.c b/modules/misc/xml/xtag.c
index 2c5a150..681be12 100644
--- a/modules/misc/xml/xtag.c
+++ b/modules/misc/xml/xtag.c
@@ -123,7 +123,9 @@ static char *xtag_get_attribute( XTag *, char * );
 static XTag *xtag_first_child( XTag *, char * );
 static XTag *xtag_next_child( XTag *, char * );
 static void  xtag_free( XTag * );
+#if 0
 static int xtag_snprint( char *, int, XTag * );
+#endif
 
 /*****************************************************************************
  * Module initialization
@@ -965,6 +967,7 @@ static XTag *xtag_next_child( XTag *xtag, char *name )
     return NULL;
 }
 
+#if 0
 /*
  * This snprints function takes a variable list of char *, the last of
  * which must be NULL, and prints each in turn to buf.
@@ -1066,4 +1069,5 @@ static int xtag_snprint( char *buf, int n, XTag *xtag )
 
     return written;
 }
+#endif
 




More information about the vlc-devel mailing list