projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0ca439
)
Get rid of E_BAD_AUDIO_FILE_SUFFIX.
author
Andre Noll
<maan@systemlinux.org>
Thu, 13 Mar 2008 23:16:54 +0000
(
00:16
+0100)
committer
Andre Noll
<maan@systemlinux.org>
Thu, 13 Mar 2008 23:16:54 +0000
(
00:16
+0100)
It's value was never used.
afh_common.c
patch
|
blob
|
history
error.h
patch
|
blob
|
history
diff --git
a/afh_common.c
b/afh_common.c
index e71fca1119d8ea5d292ef2ae34515d4fcfa693d0..3fa88f14e7015c42b4c2adadaf1977ccc790f774 100644
(file)
--- 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 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"), \