mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 21:33:34 +08:00
clang-tidy modernize-use-nullptr
This commit is contained in:
@@ -136,7 +136,7 @@ void LogWriterFile::thread_stop()
|
||||
notify();
|
||||
|
||||
// wait for thread to complete
|
||||
int ret = pthread_join(_thread, NULL);
|
||||
int ret = pthread_join(_thread, nullptr);
|
||||
|
||||
if (ret) {
|
||||
PX4_WARN("join failed: %d", ret);
|
||||
|
||||
Reference in New Issue
Block a user