Codechange: Use null pointer literal instead of the NULL macro
This commit is contained in:
committed by
Michael Lutz
parent
3b4f224c0b
commit
7c8e7c6b6e
@@ -155,8 +155,8 @@ struct DumpTarget {
|
||||
{
|
||||
static size_t type_id = ++LastTypeId();
|
||||
|
||||
if (s == NULL) {
|
||||
/* No need to dump NULL struct. */
|
||||
if (s == nullptr) {
|
||||
/* No need to dump nullptr struct. */
|
||||
WriteLine("%s = <null>", name);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user