From 6aa460f81d6e371657a6a27e4245b9a4be71cfd5 Mon Sep 17 00:00:00 2001
From: Luigi Rizzo <rizzo@icir.org>
Date: Tue, 4 Apr 2006 17:12:35 +0000
Subject: [PATCH] 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
---
 formats/format_ogg_vorbis.c | 6 ------
 1 file changed, 6 deletions(-)

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 = {
-- 
GitLab