bisect: use the standard 'if (!var)' way to check for 0
commitb8e3b2f33994de25c068021e388dbef72a2cdc4a
authorMiriam Rubio <mirucam@gmail.com>
Mon, 17 Feb 2020 08:40:30 +0000 (17 09:40 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 19 Feb 2020 17:37:14 +0000 (19 09:37 -0800)
tree2298d072e5ac5dc8433ed00afe03242cbb495fa5
parent292731c4c24bce5c9e3bdc7a246cfbc565ab93a1
bisect: use the standard 'if (!var)' way to check for 0

Instead of using 'var == 0' in an if condition, let's use '!var' and
make 'bisect.c' more consistent with the rest of the code.

Mentored-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Miriam Rubio <mirucam@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
bisect.c