From 82d0d4f51fac11c24e60c44110a8580960daaeb2 Mon Sep 17 00:00:00 2001 From: Avuton Olrich Date: Thu, 13 Jul 2006 18:27:02 +0000 Subject: 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 --- src/conf.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/conf.c') diff --git a/src/conf.c b/src/conf.c index 0f197dabc..d824555e0 100644 --- a/src/conf.c +++ b/src/conf.c @@ -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; -- cgit v1.2.3