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:
Florian Müllner 2019-05-27 20:22:50 +00:00 committed by Georges Basile Stavracas Neto
parent 033ce2d956
commit 3cd8f3b7dc

View File

@ -600,8 +600,6 @@ meta_workspace_manager_calc_workspace_layout (MetaWorkspaceManager *workspace_ma
grid = g_new (int, grid_area);
current_row = -1;
current_col = -1;
i = 0;
switch (workspace_manager->starting_corner)