mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-21 03:21:16 -03:00
Correct format string in dump_tree_recursive
This was passing two unused arguments to the format string. Use one and drop the other.
This commit is contained in:
@@ -284,8 +284,7 @@ static void dump_tree_recursive(const parse_node_tree_t &nodes, const wcstring &
|
||||
append_format(*result, L" [%ld, %ld]", (long)node.source_start,
|
||||
(long)node.source_length);
|
||||
} else {
|
||||
append_format(*result, L" [no src]", (long)node.source_start,
|
||||
(long)node.source_length);
|
||||
append_format(*result, L" [%ld, no src]", (long)node.source_start);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user