From 12edf3e3d279fc820c5f039d508d918ef42c0811 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Sun, 23 Feb 2014 23:04:52 +0100 Subject: [PATCH] conf: Remove dead store. --- src/newconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/newconf.c b/src/newconf.c index bc0e3d49..9dd9eff2 100644 --- a/src/newconf.c +++ b/src/newconf.c @@ -2142,7 +2142,7 @@ add_conf_item(const char *topconf, const char *name, int type, void (*func) (voi if((tc = find_top_conf(topconf)) == NULL) return -1; - if((cf = find_conf_item(tc, name)) != NULL) + if(find_conf_item(tc, name) != NULL) return -1; cf = rb_malloc(sizeof(struct ConfEntry));