mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
gvariant: Add suggested braces
... around empty body in an 'else' statement
This commit is contained in:
parent
3a8ac6e221
commit
611b079e3d
@ -209,7 +209,10 @@ token_stream_prepare (TokenStream *stream)
|
||||
break;
|
||||
}
|
||||
|
||||
else /* ↓↓↓ */;
|
||||
else
|
||||
{
|
||||
/* ↓↓↓ */
|
||||
}
|
||||
|
||||
case 'a': /* 'b' */ case 'c': case 'd': case 'e': case 'f':
|
||||
case 'g': case 'h': case 'i': case 'j': case 'k': case 'l':
|
||||
|
@ -2278,7 +2278,9 @@ g_variant_print_string (GVariant *value,
|
||||
}
|
||||
|
||||
else
|
||||
/* fall through and handle normally... */;
|
||||
{
|
||||
/* fall through and handle normally... */
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user