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:
Tim-Philipp Müller 2009-10-04 19:51:40 +01:00
parent 3c6db4ed95
commit abb9caf484

View file

@ -45,7 +45,7 @@ GST_START_TEST (test_initialization)
GstBuffer *buffer = gst_buffer_new ();
GstByteReader reader = GST_BYTE_READER_INIT (data, 4);
GstByteReader *reader2;
guint8 x;
guint8 x = 0;
GST_BUFFER_DATA (buffer) = data;
GST_BUFFER_SIZE (buffer) = 4;