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 e71fca1..3fa88f1 100644 (file)
@@ -119,7 +119,7 @@ int guess_audio_format(const char *name)
                        return i;
                }
        }
                        return i;
                }
        }
-       return -E_BAD_AUDIO_FILE_SUFFIX;
+       return -1;
 }
 
 /**
 }
 
 /**
diff --git a/error.h b/error.h
index 994ec1b..415262d 100644 (file)
--- a/error.h
+++ b/error.h
@@ -35,7 +35,6 @@ extern const char **para_errlist[];
 
 
 #define AFH_COMMON_ERRORS \
 
 
 #define AFH_COMMON_ERRORS \
-       PARA_ERROR(BAD_AUDIO_FILE_SUFFIX, "unknown suffix"), \
        PARA_ERROR(AUDIO_FORMAT, "audio format not recognized"), \
 
 
        PARA_ERROR(AUDIO_FORMAT, "audio format not recognized"), \