diff options
author | Jacques Lucke <jacques@blender.org> | 2021-09-27 19:42:19 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-09-27 19:42:19 +0300 |
commit | c76ccd85bed2878ab093165568d66e10e712ef69 (patch) | |
tree | 21f5f1f433de541211675b905806dd0c9bc1ab74 /source/blender/blenkernel | |
parent | 11bfbc3337bc89f1476b0894823e3dc923e4e4b0 (diff) |
Cleanup: incorrect null check in asset library
Found by clang tidy (P2439).
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/asset_library.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/asset_library.cc b/source/blender/blenkernel/intern/asset_library.cc index 6fed355c41b..8d38f2106c1 100644 --- a/source/blender/blenkernel/intern/asset_library.cc +++ b/source/blender/blenkernel/intern/asset_library.cc @@ -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; } |