build: Enable -Werror=shadow and fix related issues
Mostly renames or removing already defined types Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3378>
This commit is contained in:

committed by
Bilal Elmoussaoui

parent
e509fc7f00
commit
fc623c1ed1
@ -543,10 +543,10 @@ meta_check_monitor_configuration (MetaContext *context,
|
||||
all_crtcs = NULL;
|
||||
for (l = meta_backend_get_gpus (backend); l; l = l->next)
|
||||
{
|
||||
MetaGpu *gpu = l->data;
|
||||
MetaGpu *current_gpu = l->data;
|
||||
|
||||
all_crtcs = g_list_concat (all_crtcs,
|
||||
g_list_copy (meta_gpu_get_crtcs (gpu)));
|
||||
g_list_copy (meta_gpu_get_crtcs (current_gpu)));
|
||||
}
|
||||
|
||||
for (i = 0; i < expect->n_logical_monitors; i++)
|
||||
|
Reference in New Issue
Block a user