Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-06-09 18:55:46 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-06-09 19:22:46 +0300
commitcb0cab48efda03eb4f7f4a3c097be09212fa4fa0 (patch)
treea2f0e958e83aaf1a6f04560b08816274eebb8053 /source/blender/editors/interface/interface_layout.c
parent029fb002ddac05b2ce05f7f199068e4fdd0b0813 (diff)
Cleanup: redundant/unused assignments
Diffstat (limited to 'source/blender/editors/interface/interface_layout.c')
-rw-r--r--source/blender/editors/interface/interface_layout.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface_layout.c b/source/blender/editors/interface/interface_layout.c
index 8f2871ce18b..c04432a2912 100644
--- a/source/blender/editors/interface/interface_layout.c
+++ b/source/blender/editors/interface/interface_layout.c
@@ -4042,12 +4042,11 @@ static void ui_litem_layout_column_flow(uiLayout *litem)
int emy = 0;
int miny = 0;
- int w = litem->w - (flow->totcol - 1) * style->columnspace;
emh = toth / flow->totcol;
/* create column per column */
col = 0;
- w = (litem->w - (flow->totcol - 1) * style->columnspace) / flow->totcol;
+ int w = (litem->w - (flow->totcol - 1) * style->columnspace) / flow->totcol;
LISTBASE_FOREACH (uiItem *, item, &litem->items) {
ui_item_size(item, &itemw, &itemh);