]> git.tue.mpg.de Git - paraslash.git/commitdiff
Get rid of E_BAD_AUDIO_FILE_SUFFIX.
authorAndre Noll <maan@systemlinux.org>
Thu, 13 Mar 2008 23:16:54 +0000 (00:16 +0100)
committerAndre Noll <maan@systemlinux.org>
Thu, 13 Mar 2008 23:16:54 +0000 (00:16 +0100)
It's value was never used.

afh_common.c
error.h

index e71fca1119d8ea5d292ef2ae34515d4fcfa693d0..3fa88f14e7015c42b4c2adadaf1977ccc790f774 100644 (file)
@@ -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 994ec1ba2c75c56b8f0acb9fe576c11213556244..415262d0c2fe7507efffbe710aab153ea431fb14 100644 (file)
--- 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"), \