gsk/gl: fix warning when join_sources() is unused
authorChristian Hergert <christian@hergert.me>
Thu, 12 Jan 2023 21:22:25 +0000 (13:22 -0800)
committerChristian Hergert <christian@hergert.me>
Thu, 12 Jan 2023 21:22:25 +0000 (13:22 -0800)
gsk/gl/gskgldriver.c

index 71ebf73ef8efe8810c27d5fe1968a92d495b3bc5..3d58ee71e0fbe5334dee107d2562987cf69fb11a 100644 (file)
@@ -184,7 +184,7 @@ gsk_gl_driver_shader_weak_cb (gpointer  data,
     }
 }
 
-G_GNUC_NULL_TERMINATED static inline GBytes *
+G_GNUC_UNUSED G_GNUC_NULL_TERMINATED static inline GBytes *
 join_sources (GBytes *first_bytes,
               ...)
 {