summaryrefslogtreecommitdiffstats
path: root/cmd-queue.c
diff options
context:
space:
mode:
authornicm <nicm>2019-05-31 21:41:17 +0000
committernicm <nicm>2019-05-31 21:41:17 +0000
commit2c5f3074bcd3c4d1399a5cf3691430027452266f (patch)
treeec909460f17d11b4d08ab4eb2fd48d1002da9bc4 /cmd-queue.c
parent82e47403c6a8d6fff90f77e9262840050b8e6b2e (diff)
Fix warnings, from Ben Boeckel.
Diffstat (limited to 'cmd-queue.c')
-rw-r--r--cmd-queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-queue.c b/cmd-queue.c
index 93dcaa53..1ee43508 100644
--- a/cmd-queue.c
+++ b/cmd-queue.c
@@ -202,7 +202,7 @@ cmdq_get_command(struct cmd_list *cmdlist, struct cmd_find_state *current,
{
struct cmdq_item *item, *first = NULL, *last = NULL;
struct cmd *cmd;
- struct cmdq_shared *shared;
+ struct cmdq_shared *shared = NULL;
u_int group = 0;
TAILQ_FOREACH(cmd, &cmdlist->list, qentry) {