From a664dee4f66d0bf55ada7f038661ba119d2998db Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 16 Nov 2009 21:51:51 +0100 Subject: set_string_arg: Remove unneccesary check for determining the return code. --- src/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/conf.c b/src/conf.c index 7ab4329..9660ed0 100644 --- a/src/conf.c +++ b/src/conf.c @@ -387,7 +387,7 @@ static int set_string_arg (char **var, const char *line, regmatch_t * match) *var = arg; - return *var ? 0 : -1; + return 0; } static int get_bool_arg (const char *line, regmatch_t * match) -- cgit v1.2.3