diff options
author | 2019-03-24 02:01:06 -0700 | |
---|---|---|
committer | 2019-03-24 02:01:06 -0700 | |
commit | 48d7608aa5806192f18e2d572f56a6bc6a10a47c (patch) | |
tree | 53455eef8d6d9ae5ba90298729a6677e96e0f620 /libs/ui/Fence.cpp | |
parent | b6c5df1abefa76bfa2f554143c41d7ab6519b765 (diff) |
[libs/ui] Modernize codebase by replacing NULL with nullptr
Fixes -Wzero-as-null-pointer-constant warning.
Test: m
Bug: 68236239
Change-Id: I240d39ef4328943447149700b3ece371681078d1
Diffstat (limited to 'libs/ui/Fence.cpp')
-rw-r--r-- | libs/ui/Fence.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ui/Fence.cpp b/libs/ui/Fence.cpp index ed7ccb0bed..4ce891e148 100644 --- a/libs/ui/Fence.cpp +++ b/libs/ui/Fence.cpp @@ -110,7 +110,7 @@ nsecs_t Fence::getSignalTime() const { } struct sync_file_info* finfo = sync_file_info(mFenceFd); - if (finfo == NULL) { + if (finfo == nullptr) { ALOGE("sync_file_info returned NULL for fd %d", mFenceFd.get()); return SIGNAL_TIME_INVALID; } |