diff options
author | Thomas Adam <thomas@xteddy.org> | 2019-04-05 23:02:36 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2019-04-05 23:02:36 +0100 |
commit | 04402db61678a0ea2d5652e27f71f9fbcda69415 (patch) | |
tree | c3ba133121d73df017d41c19aa4ae367bc313c2b | |
parent | e33b623f2171e7fefa8b24c4be6cac5b4d7899f8 (diff) | |
parent | 1b5a8a0f09cede0d5b6a4744ead873fa5b53abc0 (diff) | |
download | rtmux-04402db61678a0ea2d5652e27f71f9fbcda69415.tar.gz rtmux-04402db61678a0ea2d5652e27f71f9fbcda69415.tar.bz2 rtmux-04402db61678a0ea2d5652e27f71f9fbcda69415.zip |
Merge branch 'obsd-master'
-rw-r--r-- | cmd-show-options.c | 2 | ||||
-rw-r--r-- | style.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/cmd-show-options.c b/cmd-show-options.c index 5d480664..815875d3 100644 --- a/cmd-show-options.c +++ b/cmd-show-options.c @@ -165,13 +165,11 @@ cmd_show_options_all(struct cmd *self, struct cmdq_item *item, struct options *oo) { struct options_entry *o; - const struct options_table_entry *oe; struct options_array_item *a; u_int idx; o = options_first(oo); while (o != NULL) { - oe = options_table_entry(o); if (!options_isarray(o)) cmd_show_options_print(self, item, o, -1); else { @@ -172,7 +172,7 @@ style_tostring(struct style *sy) { struct grid_cell *gc = &sy->gc; int off = 0; - const char *comma = "", *tmp; + const char *comma = "", *tmp = ""; static char s[256]; char b[16]; |