mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Nits found with clang.
This commit is contained in:
@ -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'))
|
||||
|
Reference in New Issue
Block a user