conf: Remove dead store.

This commit is contained in:
Jilles Tjoelker 2014-02-23 23:04:52 +01:00
parent 77910830e3
commit 12edf3e3d2

View file

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