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:
ridiculousfish 2018-05-07 13:44:26 -07:00
parent 91f75d84d3
commit 5f787cfe55

View File

@ -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);
}
}