]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/newconf.c
Clang warning fixes part 2 of 2.
[irc/rqf/shadowircd.git] / src / newconf.c
index 761e5184ccbd31c9da022ac260c28c6c17b00f96..597dedb88d327fe8d3c21c2dfbf1a9f5af815912 100644 (file)
@@ -2020,7 +2020,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))
                return -1;
 
        cf = rb_malloc(sizeof(struct ConfEntry));