summaryrefslogtreecommitdiff
path: root/tests/diff/diffiter.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2016-05-02 14:46:14 +0200
committerPatrick Steinhardt <ps@pks.im>2016-05-02 17:45:23 +0200
commitfcd1b786017471a7cbf97b1065a00f0551d47115 (patch)
treebc78ab9fa039709487ad332b8d13b5556e74b2ed /tests/diff/diffiter.c
parentf80852af807ae40bfc56e3285dda460873ecc9f9 (diff)
downloadlibgit2-fcd1b786017471a7cbf97b1065a00f0551d47115.tar.gz
merge_file: do not unnecessarily check ours/theirs for NULL
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.
Diffstat (limited to 'tests/diff/diffiter.c')
0 files changed, 0 insertions, 0 deletions