projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f77d87
)
tests: rtp-payloading avoid -Wmaybe-uninitialized
author
Victor Toso
<me@victortoso.com>
Thu, 17 Jan 2019 15:26:56 +0000
(16:26 +0100)
committer
Nicolas Dufresne
<nicolas@ndufresne.ca>
Fri, 18 Jan 2019 13:53:18 +0000
(13:53 +0000)
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
patch
|
blob
|
history
diff --git
a/tests/check/elements/rtp-payloading.c
b/tests/check/elements/rtp-payloading.c
index
872d951
..
d168011
100644
(file)
--- 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");