diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2019-06-05 06:44:08 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2019-06-05 06:44:08 +0100 |
commit | e252984993fdfd57a1fdc1eaf393e42e8589d623 (patch) | |
tree | 0f4f7beda1288b2990d0fd6691985e120411c2a2 /cmd-queue.c | |
parent | 17bc11bd157db83fd90051824c289712fbac7eae (diff) | |
download | rtmux-e252984993fdfd57a1fdc1eaf393e42e8589d623.tar.gz rtmux-e252984993fdfd57a1fdc1eaf393e42e8589d623.tar.bz2 rtmux-e252984993fdfd57a1fdc1eaf393e42e8589d623.zip |
If only one of -x or -y is given, use the calculated size for the
other. Also fix some warnings. Pointed out by Ben Boeckel.
Diffstat (limited to 'cmd-queue.c')
-rw-r--r-- | cmd-queue.c | 2 |
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) { |