diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-06-09 18:55:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-06-09 19:22:46 +0300 |
commit | cb0cab48efda03eb4f7f4a3c097be09212fa4fa0 (patch) | |
tree | a2f0e958e83aaf1a6f04560b08816274eebb8053 /source/blender/editors/interface/interface_layout.c | |
parent | 029fb002ddac05b2ce05f7f199068e4fdd0b0813 (diff) |
Cleanup: redundant/unused assignments
Diffstat (limited to 'source/blender/editors/interface/interface_layout.c')
-rw-r--r-- | source/blender/editors/interface/interface_layout.c | 3 |
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); |