aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_convert.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-15 09:17:06 +0100
committerMax Kellermann <max@duempel.org>2009-01-15 09:17:06 +0100
commit29baf0c190e9f5e2ccbd98cb8aa300ea91b194cd (patch)
tree811025ab9cd21bb0e97cbfd2b50564d8d20ded5c /src/pcm_convert.c
parent2151e2ea53d124af100c573024d8e1626c8d4390 (diff)
downloadmpd-29baf0c190e9f5e2ccbd98cb8aa300ea91b194cd.tar.gz
mpd-29baf0c190e9f5e2ccbd98cb8aa300ea91b194cd.tar.xz
mpd-29baf0c190e9f5e2ccbd98cb8aa300ea91b194cd.zip
log, pcm_convert: added return statements after g_error()
gcc doesn't know that g_error() never returns. Work around the gcc warning.
Diffstat (limited to '')
-rw-r--r--src/pcm_convert.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pcm_convert.c b/src/pcm_convert.c
index 67aed8185..2209249a6 100644
--- a/src/pcm_convert.c
+++ b/src/pcm_convert.c
@@ -145,6 +145,7 @@ size_t pcm_convert(const struct audio_format *inFormat,
default:
g_error("cannot convert to %u bit\n", outFormat->bits);
+ return 0;
}
}