mirror of
https://github.com/tmux/tmux.git
synced 2026-10-08 10:54:28 +00:00
More cleanup.
This commit is contained in:
@@ -1285,6 +1285,7 @@ cmd_parse_command_any_have(struct cmd_parse_tree *tree,
|
||||
struct cmd_parse_node *node, int flag)
|
||||
{
|
||||
struct cmd_parse_node *child;
|
||||
int flags = tree->flags;
|
||||
struct args_value *values = NULL;
|
||||
struct cmd *cmd;
|
||||
char *cause = NULL;
|
||||
@@ -1317,7 +1318,7 @@ cmd_parse_command_any_have(struct cmd_parse_tree *tree,
|
||||
count++;
|
||||
}
|
||||
|
||||
cmd = cmd_parse(values, count, NULL, node->line, 0, &cause);
|
||||
cmd = cmd_parse(values, count, tree->file, node->line, flags, &cause);
|
||||
if (cmd == NULL) {
|
||||
free(cause);
|
||||
found = -1;
|
||||
|
||||
Reference in New Issue
Block a user