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));