[Bf-blender-cvs] [650d2f863dc] master: Cleanup: Use const in File Browser filtering operator
Julian Eisel
noreply at git.blender.org
Thu Jun 16 19:46:57 CEST 2022
Commit: 650d2f863dcaa3c9f7fae8ac6fd715722df558b7
Author: Julian Eisel
Date: Thu Jun 16 19:36:58 2022 +0200
Branches: master
https://developer.blender.org/rB650d2f863dcaa3c9f7fae8ac6fd715722df558b7
Cleanup: Use const in File Browser filtering operator
===================================================================
M source/blender/editors/space_file/file_ops.c
===================================================================
diff --git a/source/blender/editors/space_file/file_ops.c b/source/blender/editors/space_file/file_ops.c
index 578288ca289..8b205029559 100644
--- a/source/blender/editors/space_file/file_ops.c
+++ b/source/blender/editors/space_file/file_ops.c
@@ -2914,9 +2914,9 @@ void FILE_OT_delete(struct wmOperatorType *ot)
static int file_start_filter_exec(bContext *C, wmOperator *UNUSED(op))
{
- ScrArea *area = CTX_wm_area(C);
- SpaceFile *sfile = CTX_wm_space_file(C);
- FileSelectParams *params = ED_fileselect_get_active_params(sfile);
+ const ScrArea *area = CTX_wm_area(C);
+ const SpaceFile *sfile = CTX_wm_space_file(C);
+ const FileSelectParams *params = ED_fileselect_get_active_params(sfile);
ARegion *region_ctx = CTX_wm_region(C);
More information about the Bf-blender-cvs
mailing list