mirror of
https://https.git.savannah.gnu.org/git/coreutils.git
synced 2026-01-26 07:27:53 +00:00
maint: remove sc_prohibit_NULL syntax check
* cfg.mk: NULL is fine and good in C as per: https://bugs.gnu.org/66221#53
This commit is contained in:
parent
8d791ada1e
commit
6328e7f17d
6
cfg.mk
6
cfg.mk
@ -526,12 +526,6 @@ sc_prohibit_exit_write_error:
|
||||
halt='Use write_error() instead' \
|
||||
$(_sc_search_regexp)
|
||||
|
||||
sc_prohibit_NULL:
|
||||
@prohibit='$(begword)NULL$(endword)' \
|
||||
in_vc_files='\.[ch]$$' \
|
||||
halt='use nullptr instead' \
|
||||
$(_sc_search_regexp)
|
||||
|
||||
sc_prohibit_bare_set:
|
||||
@prohibit='^ *set [`$$]' \
|
||||
in_vc_files='\.sh$$' \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user