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
commit 5d5c32cec1
Notes: sideshowbarker 2024-07-19 01:55:01 +09:00
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;