[mutter] wayland/dma-buf: Fix typo



commit 926c34cc8982a34d783eb63a54a0f5a4800b7ec1
Author: Jonas Ã…dahl <jadahl gmail com>
Date:   Fri Jan 7 19:40:03 2022 +0100

    wayland/dma-buf: Fix typo
    
    A = was placed where a ; should have been placed. Caught by coverity.
    
    Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2215>

 src/wayland/meta-wayland-dma-buf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/wayland/meta-wayland-dma-buf.c b/src/wayland/meta-wayland-dma-buf.c
index 41840074ff..4e2b15afb2 100644
--- a/src/wayland/meta-wayland-dma-buf.c
+++ b/src/wayland/meta-wayland-dma-buf.c
@@ -1112,7 +1112,7 @@ ensure_surface_feedback (MetaWaylandDmaBufManager *dma_buf_manager,
 static void
 surface_feedback_destructor (struct wl_resource *resource)
 {
-  MetaWaylandDmaBufSurfaceFeedback *surface_feedback =
+  MetaWaylandDmaBufSurfaceFeedback *surface_feedback;
 
   surface_feedback = wl_resource_get_user_data (resource);
   if (!surface_feedback)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]