[Bf-blender-cvs] [005b3ef9a88] asset-browser: Fix variable shadowing warning

Julian Eisel noreply at git.blender.org
Fri Dec 4 11:28:30 CET 2020


Commit: 005b3ef9a884842843878045a474be3c47925c7b
Author: Julian Eisel
Date:   Thu Dec 3 23:43:38 2020 +0100
Branches: asset-browser
https://developer.blender.org/rB005b3ef9a884842843878045a474be3c47925c7b

Fix variable shadowing warning

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

M	source/blender/editors/space_file/file_draw.c

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

diff --git a/source/blender/editors/space_file/file_draw.c b/source/blender/editors/space_file/file_draw.c
index 172a2a0d129..3b58d74b5a6 100644
--- a/source/blender/editors/space_file/file_draw.c
+++ b/source/blender/editors/space_file/file_draw.c
@@ -946,7 +946,6 @@ void file_draw_list(const bContext *C, ARegion *region)
     }
 
     if (file_selflag & FILE_SEL_EDITING) {
-      FileSelectParams *params = ED_fileselect_get_active_params(sfile);
       const short width = (params->display == FILE_IMGDISPLAY) ?
                               textwidth :
                               layout->attribute_columns[COLUMN_NAME].width -



More information about the Bf-blender-cvs mailing list