From: Andre Noll Date: Thu, 13 Mar 2008 23:16:54 +0000 (+0100) Subject: Get rid of E_BAD_AUDIO_FILE_SUFFIX. X-Git-Tag: v0.3.2~63^2~1 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=c0f9ab7c29b7c79b7d46d8546ce0d3a7ec358c97;p=paraslash.git Get rid of E_BAD_AUDIO_FILE_SUFFIX. It's value was never used. --- diff --git a/afh_common.c b/afh_common.c index e71fca11..3fa88f14 100644 --- a/afh_common.c +++ b/afh_common.c @@ -119,7 +119,7 @@ int guess_audio_format(const char *name) return i; } } - return -E_BAD_AUDIO_FILE_SUFFIX; + return -1; } /** diff --git a/error.h b/error.h index 994ec1ba..415262d0 100644 --- a/error.h +++ b/error.h @@ -35,7 +35,6 @@ extern const char **para_errlist[]; #define AFH_COMMON_ERRORS \ - PARA_ERROR(BAD_AUDIO_FILE_SUFFIX, "unknown suffix"), \ PARA_ERROR(AUDIO_FORMAT, "audio format not recognized"), \