From: Elia Pinto Date: Sat, 30 Apr 2022 04:13:49 GMT Subject: [PATCH 06/23] builtin/bisect--helper.c: Fix coding style Message-ID: <20220430041406.164719-7-gitter.spiros@gmail.com> In-Reply-To: <20220430041406.164719-1-gitter.spiros@gmail.com> Adhere to the git coding style which requires "Do not explicitly compute an integral value with constant 0 or '\ 0', or a pointer value with constant NULL." Signed-off-by: Elia Pinto --- builtin/bisect--helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/bisect--helper.c b/builtin/bisect--helper.c index 8b2b259ff0..e432e1b0ef 100644 --- a/builtin/bisect--helper.c +++ b/builtin/bisect--helper.c @@ -433,7 +433,7 @@ static int bisect_terms(struct bisect_terms *terms, const char *option) if (get_terms(terms)) return error(_("no terms defined")); - if (option == NULL) { + if (!option) { printf(_("Your current terms are %s for the old state\n" "and %s for the new state.\n"), terms->term_good, terms->term_bad); -- 2.35.1