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:
parent
93f4388e45
commit
5d5c32cec1
7 changed files with 8 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue