diff --git a/client/settings.cc b/client/settings.cc index 20bd2581..f6db78db 100644 --- a/client/settings.cc +++ b/client/settings.cc @@ -63,7 +63,8 @@ void Settings::ScopedLockedFileHandle::Destroy() { CheckedCloseFile(handle_); } if (!lockfile_path_.empty()) { - DCHECK(LoggingRemoveFile(lockfile_path_)); + const bool success = LoggingRemoveFile(lockfile_path_); + DCHECK(success); } }