Merge branch 'ep/maint-equals-null-cocci'
Introduce and apply coccinelle rule to discourage an explicit comparison between a pointer and NULL, and applies the clean-up to the maintenance track. * ep/maint-equals-null-cocci: tree-wide: apply equals-null.cocci tree-wide: apply equals-null.cocci contrib/coccinnelle: add equals-null.cocci
This commit is contained in:
@ -474,7 +474,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);
|
||||
|
Reference in New Issue
Block a user