Remove forceGetConfigParamValue, it's unused and even

if it wasn't it'd probably be better to add a argument to
getConfigParamValue()

git-svn-id: https://svn.musicpd.org/mpd/trunk@4313 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Avuton Olrich 2006-07-13 18:27:02 +00:00
parent b0fb096311
commit 82d0d4f51f
2 changed files with 0 additions and 13 deletions

View File

@ -338,17 +338,6 @@ char * getConfigParamValue(char * name) {
return param->value;
}
char * forceAndGetConfigParamValue(char * name) {
ConfigParam * param = getConfigParam(name);
if(!param) {
ERROR("\"%s\" not found in config file\n", name);
exit(EXIT_FAILURE);
}
return param->value;
}
BlockParam * getBlockParam(ConfigParam * param, char * name) {
BlockParam * ret = NULL;
int i;

View File

@ -85,8 +85,6 @@ ConfigParam * getNextConfigParam(char * name, ConfigParam * last);
char * getConfigParamValue(char * name);
char * forceAndGetConfigParamValue(char * name);
void registerConfigParam(char * name, int repeats, int block);
BlockParam * getBlockParam(ConfigParam * param, char * name);