summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2009-10-04 19:51:40 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-10-06 20:04:10 +0100
commitabb9caf48428f88210116d484321f27566abf984 (patch)
tree4be83042c7e9ceeb5beaad4f1710870e9129d74c
parent3c6db4ed95de497840164ece2d8c5a53c1e35912 (diff)
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).
-rw-r--r--tests/check/libs/bytereader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check/libs/bytereader.c b/tests/check/libs/bytereader.c
index 13b810febf..a09ac0497f 100644
--- a/tests/check/libs/bytereader.c
+++ b/tests/check/libs/bytereader.c
@@ -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;