summaryrefslogtreecommitdiffstats
path: root/cfg.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2018-01-17 11:26:10 +0000
committerThomas Adam <thomas@xteddy.org>2018-01-17 11:26:10 +0000
commit84ddc72744d88f399103ea350c28d5fb45e28b96 (patch)
tree76a62ad185f8a274f4243a2365fd01801e421b8e /cfg.c
parent58e9d12f23be4ecc7ab6879e8d19239b430f6553 (diff)
parent75842bfe66d983580dddf11b676445d5b9fa9f8a (diff)
Merge branch 'obsd-master'
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);