summaryrefslogtreecommitdiffstats
path: root/cfg.c
diff options
context:
space:
mode:
Diffstat (limited to 'cfg.c')
-rw-r--r--cfg.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cfg.c b/cfg.c
index 827e4c18..416dbf7a 100644
--- a/cfg.c
+++ b/cfg.c
@@ -286,8 +286,6 @@ load_cfg(const char *path, struct client *c, struct cmdq_item *item, int quiet)
}
free(buf);
- if (cmdlist == NULL)
- continue;
new_item = cmdq_get_command(cmdlist, NULL, NULL, 0);
if (item != NULL)
cmdq_insert_after(item, new_item);