mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
tests: Fix a -Wmaybe-uninitialized warning in gdbus-serialization test
It’s a false positive, but easy enough to squash. Signed-off-by: Philip Withnall <pwithnall@gnome.org>
This commit is contained in:
parent
9f3322c784
commit
d2f5cd4153
@ -543,7 +543,7 @@ get_and_check_serialization (GVariant *value)
|
|||||||
/* First check that the serialization to the D-Bus wire format is correct - do this for both byte orders */
|
/* First check that the serialization to the D-Bus wire format is correct - do this for both byte orders */
|
||||||
for (n = 0; n < 2; n++)
|
for (n = 0; n < 2; n++)
|
||||||
{
|
{
|
||||||
GDBusMessageByteOrder byte_order;
|
GDBusMessageByteOrder byte_order = G_DBUS_MESSAGE_BYTE_ORDER_BIG_ENDIAN;
|
||||||
switch (n)
|
switch (n)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
|
Loading…
Reference in New Issue
Block a user