tests: Read return value to make clang/icc happy
authorEdward Hervey <bilboed@bilboed.com>
Mon, 3 May 2010 09:32:20 +0000 (11:32 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Thu, 6 May 2010 15:32:11 +0000 (17:32 +0200)
tests/check/libs/bytereader.c

index a1a1626..4d0c3cf 100644 (file)
@@ -535,7 +535,7 @@ GST_START_TEST (test_scan)
   do_scan (&reader, 0x00ffffff, 0xffffffff, 0x65, 99, -1);
 
   /* flush some bytes */
-  gst_byte_reader_skip (&reader, 0x20);
+  fail_unless (gst_byte_reader_skip (&reader, 0x20));
 
   do_scan (&reader, 0xffffffff, 0x20212223, 0, 100, 0);
   do_scan (&reader, 0xffffffff, 0x20212223, 0, 4, 0);