Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Commit 5a79cda

Browse files
committed
Fix lint error with NULL vs nullptr
1 parent ee2c685 commit 5a79cda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/initialize.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ class LibraryInitializer {
4646
dmlc::InitLogging("mxnet");
4747
#if MXNET_USE_SIGNAL_HANDLER && DMLC_LOG_STACK_TRACE
4848
struct sigaction sa;
49-
sigaction(SIGSEGV, NULL, &sa);
50-
if (sa.sa_handler == NULL) {
49+
sigaction(SIGSEGV, nullptr, &sa);
50+
if (sa.sa_handler == nullptr) {
5151
signal(SIGSEGV, SegfaultLogger);
5252
}
5353
#endif

0 commit comments

Comments
 (0)