mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-31 22:56:04 +00:00
Style: Remove uses of NULL, substituting nullptr
This commit is contained in:
parent
93f4388e45
commit
5d5c32cec1
Notes:
sideshowbarker
2024-07-19 01:55:01 +09:00
Author: https://github.com/mlcurry 🔰
Commit: 5d5c32cec1
Pull-request: https://github.com/SerenityOS/serenity/pull/3756
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