Fix warnings, from Ben Boeckel.

This commit is contained in:
nicm
2019-05-31 21:41:17 +00:00
parent 82e47403c6
commit 2c5f3074bc
2 changed files with 2 additions and 4 deletions

View File

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