mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
tests: init variable to avoid compiler warning on osx
Init variable to avoid compiler warning and make the build bot happy (the compiler most likely complains about this because it doesn't know here that fail_unless will abort/exit in the path where it fails).
This commit is contained in:
parent
3c6db4ed95
commit
abb9caf484
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ GST_START_TEST (test_initialization)
|
||||||
GstBuffer *buffer = gst_buffer_new ();
|
GstBuffer *buffer = gst_buffer_new ();
|
||||||
GstByteReader reader = GST_BYTE_READER_INIT (data, 4);
|
GstByteReader reader = GST_BYTE_READER_INIT (data, 4);
|
||||||
GstByteReader *reader2;
|
GstByteReader *reader2;
|
||||||
guint8 x;
|
guint8 x = 0;
|
||||||
|
|
||||||
GST_BUFFER_DATA (buffer) = data;
|
GST_BUFFER_DATA (buffer) = data;
|
||||||
GST_BUFFER_SIZE (buffer) = 4;
|
GST_BUFFER_SIZE (buffer) = 4;
|
||||||
|
|
Loading…
Reference in a new issue