mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
gvariant: Add suggested braces
... around empty body in an 'else' statement
This commit is contained in:
@@ -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... */
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user