remove an unused function.
authorLuigi Rizzo <rizzo@icir.org>
Tue, 4 Apr 2006 17:12:35 +0000 (17:12 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Tue, 4 Apr 2006 17:12:35 +0000 (17:12 +0000)
Funny enough, compiling with -O6 gives no warning, whereas -O2 gives
a warning for an unused function declared static.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17330 65c4cc65-6c06-0410-ace0-fbb531ad65f3

formats/format_ogg_vorbis.c

index 013751c..1333176 100644 (file)
@@ -523,12 +523,6 @@ static off_t ogg_vorbis_tell(struct ast_filestream *s)
        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 = {