]> git.ipfire.org Git - thirdparty/git.git/commit
log_tree_diff: get rid of extra check for NULL
authorSergey Organov <sorganov@gmail.com>
Fri, 28 Aug 2020 11:05:26 +0000 (14:05 +0300)
committerJunio C Hamano <gitster@pobox.com>
Sun, 6 Sep 2020 17:33:19 +0000 (10:33 -0700)
commit793d37c17ffab46507e14c4547ad2edc9ba9e3fe
tree85ede32178a498a293a50839f533aea5ee2f1b65
parenta7b94309406c8f713a061ca8b930179483b12619
log_tree_diff: get rid of extra check for NULL

Get rid of needless check of 'parents' for NULL. The NULL case
is already handled right above, and 'parents' is dereferenced
without check below anyway.

Signed-off-by: Sergey Organov <sorganov@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
log-tree.c