Fix CQS signal. Id] 32912214 -- modernize-use-nullptr in xplat/js/react-native-github/packages/react-native/ReactCommon/logger

Reviewed By: dtolnay

Differential Revision: D72449910

fbshipit-source-id: d246d83f19b374c5fe1260ce8bbe974ccd7ffa15
This commit is contained in:
generatedunixname89002005287564
2025-04-04 18:24:46 -07:00
committed by Facebook GitHub Bot
parent 45a9279c2e
commit a20b02efbf
@@ -8,7 +8,7 @@
#include "react_native_log.h"
#include <glog/logging.h>
static reactnativelogfunctype _reactnativelogfunc = NULL;
static reactnativelogfunctype _reactnativelogfunc = nullptr;
void set_react_native_logfunc(reactnativelogfunctype newlogfunc) {
_reactnativelogfunc = newlogfunc;
@@ -27,7 +27,7 @@ void react_native_log_fatal(const char* message) {
}
void _react_native_log(ReactNativeLogLevel level, const char* message) {
if (_reactnativelogfunc == NULL) {
if (_reactnativelogfunc == nullptr) {
_react_native_log_default(level, message);
} else {
_reactnativelogfunc(level, message);