Clear ds_tmp after running "diff --help"

parent 8778c0d7
...@@ -1330,7 +1330,7 @@ void show_diff(DYNAMIC_STRING* ds, ...@@ -1330,7 +1330,7 @@ void show_diff(DYNAMIC_STRING* ds,
} }
else else
{ {
dynstr_set(&ds_tmp, "");
/* First try with unified diff */ /* First try with unified diff */
if (run_tool("diff", if (run_tool("diff",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment