mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-19 06:02:45 +08: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:
parent
91f75d84d3
commit
5f787cfe55
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user