Replace NULL with nullptr (#1321)

This commit is contained in:
Sylvie
2024-02-29 15:06:33 -05:00
committed by GitHub
parent eff8c324c8
commit 043db49676
27 changed files with 252 additions and 254 deletions

View File

@@ -344,7 +344,7 @@ void error(char const *fmt, ...)
va_list args;
va_start(args, fmt);
printDiag(fmt, args, "error", ":", NULL);
printDiag(fmt, args, "error", ":", nullptr);
va_end(args);
// This intentionally makes 0 act as "unlimited" (or at least "limited to sizeof(unsigned)")
@@ -359,7 +359,7 @@ void error(char const *fmt, ...)
va_list args;
va_start(args, fmt);
printDiag(fmt, args, "FATAL", ":", NULL);
printDiag(fmt, args, "FATAL", ":", nullptr);
va_end(args);
exit(1);