Remove unused variables
Detected through codeql Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3837>
This commit is contained in:

committed by
Bilal Elmoussaoui

parent
42e5c7bd9c
commit
6e1c761330
@ -2077,7 +2077,6 @@ choose_onscreen_egl_config (CoglOnscreen *onscreen,
|
||||
MetaCrtcKms *crtc_kms = META_CRTC_KMS (onscreen_native->crtc);
|
||||
MetaKmsPlane *kms_plane = meta_crtc_kms_get_assigned_primary_plane (crtc_kms);
|
||||
EGLint attrs[MAX_EGL_CONFIG_ATTRIBS];
|
||||
g_autoptr (GError) local_error = NULL;
|
||||
static const uint32_t alphaless_10bpc_formats[] = {
|
||||
GBM_FORMAT_XRGB2101010,
|
||||
GBM_FORMAT_XBGR2101010,
|
||||
|
@ -2150,7 +2150,6 @@ meta_renderer_native_unset_modes (MetaRendererNative *renderer_native)
|
||||
MetaGpu *gpu = l->data;
|
||||
MetaKmsDevice *kms_device;
|
||||
GList *k;
|
||||
g_autoptr (MetaKmsFeedback) kms_feedback = NULL;
|
||||
MetaKmsUpdate *kms_update = NULL;
|
||||
|
||||
if (!META_IS_GPU_KMS (gpu))
|
||||
|
@ -765,7 +765,6 @@ meta_thread_reset_thread_type (MetaThread *thread,
|
||||
MetaThreadType thread_type)
|
||||
{
|
||||
MetaThreadPrivate *priv = meta_thread_get_instance_private (thread);
|
||||
g_autoptr (GMainContext) thread_context = NULL;
|
||||
|
||||
if (priv->thread_type == thread_type)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user