1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 07:38:10 +00:00

Style: Remove uses of NULL, substituting nullptr

This commit is contained in:
Matthew L. Curry 2020-10-13 00:00:06 -06:00 committed by Andreas Kling
parent 93f4388e45
commit 5d5c32cec1
7 changed files with 8 additions and 8 deletions

View file

@ -65,7 +65,7 @@ static Count get_count(const String& file_name)
file_pointer = stdin;
} else {
count.name = file_name;
if ((file_pointer = fopen(file_name.characters(), "r")) == NULL) {
if ((file_pointer = fopen(file_name.characters(), "r")) == nullptr) {
fprintf(stderr, "wc: unable to open %s\n", file_name.characters());
count.exists = false;
return count;