diff options
author | 2019-05-31 21:41:17 +0000 | |
---|---|---|
committer | 2019-05-31 21:41:17 +0000 | |
commit | 337db08581156719af9b9e6f0985f10f09733869 (patch) | |
tree | 02fcb269de5ef625a688f724791ce8f4207adef3 /usr.bin/tmux/cmd-queue.c | |
parent | document the newer PERMIT_PACKAGE framework (diff) | |
download | wireguard-openbsd-337db08581156719af9b9e6f0985f10f09733869.tar.xz wireguard-openbsd-337db08581156719af9b9e6f0985f10f09733869.zip |
Fix warnings, from Ben Boeckel.
Diffstat (limited to 'usr.bin/tmux/cmd-queue.c')
-rw-r--r-- | usr.bin/tmux/cmd-queue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-queue.c b/usr.bin/tmux/cmd-queue.c index dee7ab92cb1..a1683aa35fb 100644 --- a/usr.bin/tmux/cmd-queue.c +++ b/usr.bin/tmux/cmd-queue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-queue.c,v 1.72 2019/05/29 19:34:42 nicm Exp $ */ +/* $OpenBSD: cmd-queue.c,v 1.73 2019/05/31 21:41:17 nicm Exp $ */ /* * Copyright (c) 2013 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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) { |