mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
check: Hopefully fix an 'may be used uninitialized' warning on OS/X
This commit is contained in:
parent
09ae85670c
commit
5dbe63c07a
1 changed files with 2 additions and 2 deletions
|
@ -130,7 +130,7 @@ GST_START_TEST (test_get_uint_le)
|
||||||
0xfe, 0xdc, 0xba, 0x09, 0x87, 0x65, 0x43, 0x21
|
0xfe, 0xdc, 0xba, 0x09, 0x87, 0x65, 0x43, 0x21
|
||||||
};
|
};
|
||||||
GstByteReader reader = GST_BYTE_READER_INIT (data, 16);
|
GstByteReader reader = GST_BYTE_READER_INIT (data, 16);
|
||||||
guint8 a;
|
guint8 a = 0;
|
||||||
guint16 b = 0;
|
guint16 b = 0;
|
||||||
guint32 c = 0;
|
guint32 c = 0;
|
||||||
guint64 d = 0;
|
guint64 d = 0;
|
||||||
|
@ -173,7 +173,7 @@ GST_START_TEST (test_get_uint_be)
|
||||||
0xfe, 0xdc, 0xba, 0x09, 0x87, 0x65, 0x43, 0x21
|
0xfe, 0xdc, 0xba, 0x09, 0x87, 0x65, 0x43, 0x21
|
||||||
};
|
};
|
||||||
GstByteReader reader = GST_BYTE_READER_INIT (data, 16);
|
GstByteReader reader = GST_BYTE_READER_INIT (data, 16);
|
||||||
guint8 a;
|
guint8 a = 0;
|
||||||
guint16 b = 0;
|
guint16 b = 0;
|
||||||
guint32 c = 0;
|
guint32 c = 0;
|
||||||
guint64 d = 0;
|
guint64 d = 0;
|
||||||
|
|
Loading…
Reference in a new issue