mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
workspace-manager: Remove unnecessary assignment
The initialization to -1 is never used, instead the variables are re-initialized to 0 before the loop that uses them. https://gitlab.gnome.org/GNOME/mutter/merge_requests/598
This commit is contained in:
parent
033ce2d956
commit
3cd8f3b7dc
@ -600,8 +600,6 @@ meta_workspace_manager_calc_workspace_layout (MetaWorkspaceManager *workspace_ma
|
|||||||
|
|
||||||
grid = g_new (int, grid_area);
|
grid = g_new (int, grid_area);
|
||||||
|
|
||||||
current_row = -1;
|
|
||||||
current_col = -1;
|
|
||||||
i = 0;
|
i = 0;
|
||||||
|
|
||||||
switch (workspace_manager->starting_corner)
|
switch (workspace_manager->starting_corner)
|
||||||
|
Loading…
Reference in New Issue
Block a user