From: Luigi Rizzo Date: Tue, 4 Apr 2006 17:12:35 +0000 (+0000) Subject: remove an unused function. X-Git-Tag: 1.4.0-beta1~2158 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6aa460f81d6e371657a6a27e4245b9a4be71cfd5;p=thirdparty%2Fasterisk.git remove an unused function. 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 --- diff --git a/formats/format_ogg_vorbis.c b/formats/format_ogg_vorbis.c index 013751c484..133317689c 100644 --- a/formats/format_ogg_vorbis.c +++ b/formats/format_ogg_vorbis.c @@ -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 = {