From 4a33b083f115caed892a6ee18023a15c5a3c15d6 Mon Sep 17 00:00:00 2001 From: Victor Toso Date: Thu, 17 Jan 2019 16:26:56 +0100 Subject: [PATCH] tests: rtp-payloading avoid -Wmaybe-uninitialized More false positives as both of them are initialized in the line before they are used, wrapped with fail_unless() check. --- tests/check/elements/rtp-payloading.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/check/elements/rtp-payloading.c b/tests/check/elements/rtp-payloading.c index 872d951..d168011 100644 --- a/tests/check/elements/rtp-payloading.c +++ b/tests/check/elements/rtp-payloading.c @@ -791,8 +791,8 @@ GST_START_TEST (rtp_h264depay_bytestream) GstBuffer *buf; GstSample *s; GstCaps *caps; - guint32 dw; - guint8 b; + guint32 dw = 0; + guint8 b = 0; guint off, left; s = rtp_h264depay_run ("byte-stream"); -- 2.7.4