mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Replace NULL with nullptr
This commit is contained in:
@@ -47,7 +47,7 @@ void *zipio_open(void *data, const char *p_fname, int mode) {
|
||||
}
|
||||
|
||||
if (!f)
|
||||
return NULL;
|
||||
return nullptr;
|
||||
|
||||
return data;
|
||||
}
|
||||
@@ -98,7 +98,7 @@ int zipio_close(voidpf opaque, voidpf stream) {
|
||||
if (f) {
|
||||
f->close();
|
||||
memdelete(f);
|
||||
f = NULL;
|
||||
f = nullptr;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user