From 26d581041add99f67568e781b4f22c25e556b2d4 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Wed, 13 Nov 2024 17:53:04 +1100 Subject: [PATCH] vaapi/display_drm: silence a maybe-unitialized warning Part-of: --- .../gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapidisplay_drm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapidisplay_drm.c b/subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapidisplay_drm.c index 1fc376a520..86f6aadee6 100644 --- a/subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapidisplay_drm.c +++ b/subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapidisplay_drm.c @@ -336,7 +336,7 @@ gst_vaapi_display_drm_class_init (GstVaapiDisplayDRMClass * klass) GstVaapiDisplay * gst_vaapi_display_drm_new (const gchar * device_path) { - GstVaapiDisplay *display; + GstVaapiDisplay *display = NULL; guint types[3], i, num_types = 0; gpointer device_paths[3];