From: Victor Toso Date: Thu, 17 Jan 2019 15:26:56 +0000 (+0100) Subject: tests: rtp-payloading avoid -Wmaybe-uninitialized X-Git-Tag: 1.19.3~509^2~1212 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4a33b083f115caed892a6ee18023a15c5a3c15d6;p=platform%2Fupstream%2Fgstreamer.git 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. --- 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");