Cleanup: incorrect null check in asset library

Found by clang tidy (P2439).
This commit is contained in:
2021-09-27 18:42:19 +02:00
parent 11bfbc3337
commit c76ccd85be

View File

@@ -85,7 +85,7 @@ void AssetLibrary::on_save_post(struct Main *main,
struct PointerRNA ** /*pointers*/,
const int /*num_pointers*/)
{
if (this->catalog_service) {
if (this->catalog_service == nullptr) {
return;
}