diff options
author | nicm <nicm> | 2017-01-06 13:26:09 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-01-06 13:26:09 +0000 |
commit | cae0fbbe8c7cc16ac38aa8149ef9b4e2a54bce0e (patch) | |
tree | 80c16bfe2c5b94acd1a2d149760178ee9ad858dd /cmd-command-prompt.c | |
parent | 461217d0f0b347b688d6f41dcc997b984951aac1 (diff) | |
download | rtmux-cae0fbbe8c7cc16ac38aa8149ef9b4e2a54bce0e.tar.gz rtmux-cae0fbbe8c7cc16ac38aa8149ef9b4e2a54bce0e.tar.bz2 rtmux-cae0fbbe8c7cc16ac38aa8149ef9b4e2a54bce0e.zip |
Nits found with clang.
Diffstat (limited to 'cmd-command-prompt.c')
-rw-r--r-- | cmd-command-prompt.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd-command-prompt.c b/cmd-command-prompt.c index cbe9c538..dec40bf2 100644 --- a/cmd-command-prompt.c +++ b/cmd-command-prompt.c @@ -72,7 +72,6 @@ cmd_command_prompt_exec(struct cmd *self, struct cmdq_item *item) struct client *c = item->state.c; char *prompt, *ptr, *input = NULL; size_t n; - int flags; if (c->prompt_string != NULL) return (CMD_RETURN_NORMAL); @@ -117,7 +116,6 @@ cmd_command_prompt_exec(struct cmd *self, struct cmdq_item *item) input = strsep(&cdata->next_input, ","); } - flags = 0; if (args_has(args, '1')) cdata->flags |= PROMPT_SINGLE; else if (args_has(args, 'N')) |