gvariant: Add suggested braces

... around empty body in an 'else' statement
This commit is contained in:
Benjamin Otte 2016-08-25 17:41:31 +02:00
parent 3a8ac6e221
commit 611b079e3d
2 changed files with 7 additions and 2 deletions

View File

@ -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':

View File

@ -2278,7 +2278,9 @@ g_variant_print_string (GVariant *value,
}
else
/* fall through and handle normally... */;
{
/* fall through and handle normally... */
}
}
/*