[Bf-blender-cvs] [1a887b00882] master: Cleanup: use nullptr

Jacques Lucke noreply at git.blender.org
Wed Nov 24 10:05:17 CET 2021


Commit: 1a887b008823298a7e41d6c4984e2b810cdffe88
Author: Jacques Lucke
Date:   Wed Nov 24 10:05:01 2021 +0100
Branches: master
https://developer.blender.org/rB1a887b008823298a7e41d6c4984e2b810cdffe88

Cleanup: use nullptr

===================================================================

M	source/blender/editors/asset/intern/asset_ops.cc

===================================================================

diff --git a/source/blender/editors/asset/intern/asset_ops.cc b/source/blender/editors/asset/intern/asset_ops.cc
index ae046cd5b03..0177a06aa0a 100644
--- a/source/blender/editors/asset/intern/asset_ops.cc
+++ b/source/blender/editors/asset/intern/asset_ops.cc
@@ -413,7 +413,7 @@ static int asset_library_refresh_exec(bContext *C, wmOperator *UNUSED(unused))
   if (ED_operator_asset_browsing_active(C)) {
     SpaceFile *sfile = CTX_wm_space_file(C);
     ED_fileselect_clear(CTX_wm_manager(C), sfile);
-    WM_event_add_notifier(C, NC_SPACE | ND_SPACE_FILE_LIST, NULL);
+    WM_event_add_notifier(C, NC_SPACE | ND_SPACE_FILE_LIST, nullptr);
   }
   else {
     /* Execution mode #2: Outside the Asset Browser, use the asset list. */



More information about the Bf-blender-cvs mailing list