[asterisk-commits] trunk r17330 - /trunk/formats/format_ogg_vorbis.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Apr 4 10:12:37 MST 2006


Author: rizzo
Date: Tue Apr  4 12:12:35 2006
New Revision: 17330

URL: http://svn.digium.com/view/asterisk?rev=17330&view=rev
Log:
remove an unused function.
Funny enough, compiling with -O6 gives no warning, whereas -O2 gives
a warning for an unused function declared static.


Modified:
    trunk/formats/format_ogg_vorbis.c

Modified: trunk/formats/format_ogg_vorbis.c
URL: http://svn.digium.com/view/asterisk/trunk/formats/format_ogg_vorbis.c?rev=17330&r1=17329&r2=17330&view=diff
==============================================================================
--- trunk/formats/format_ogg_vorbis.c (original)
+++ trunk/formats/format_ogg_vorbis.c Tue Apr  4 12:12:35 2006
@@ -523,12 +523,6 @@
 	return -1;
 }
 
-static char *ogg_vorbis_getcomment(struct ast_filestream *s)
-{
-	ast_log(LOG_WARNING, "Getting comments is not supported on OGG/Vorbis streams!\n");
-	return NULL;
-}
-
 static struct ast_format_lock me = { .usecnt = -1 };
 
 static const struct ast_format vorbis_f = {



More information about the asterisk-commits mailing list