Skip to content

Commit 8d1454b

Browse files
authored
[NFC][Asan] Replace 0 with nullptr in asan_fake_stack (#163670)
1 parent 1c7ae89 commit 8d1454b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/asan/asan_fake_stack.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ static THREADLOCAL FakeStack* fake_stack_tls;
219219
static FakeStack* GetTLSFakeStack() { return fake_stack_tls; }
220220
void SetTLSFakeStack(FakeStack* fs) { fake_stack_tls = fs; }
221221
#else
222-
static FakeStack* GetTLSFakeStack() { return 0; }
222+
static FakeStack* GetTLSFakeStack() { return nullptr; }
223223
void SetTLSFakeStack(FakeStack* fs) {}
224224
#endif // (SANITIZER_LINUX && !SANITIZER_ANDROID) || SANITIZER_FUCHSIA
225225

0 commit comments

Comments
 (0)