merge_file.c
7.93 KB
-
merge_file: do not unnecessarily check ours/theirs for NULL · fcd1b786
The `merge_file__xdiff` function checks if either `ours` or `theirs` is `NULL`. The function is to be called with existing files, though, and in fact already unconditionally dereferences both pointers. Remove the unnecessary check to silence warnings.
Patrick Steinhardt committed