Suggest braces around empty body in ‘if’ statements

This commit is contained in:
Benjamin Otte 2018-10-04 13:02:18 +02:00 committed by Philip Withnall
parent 86b910e6b1
commit 1f6c73747e

View File

@ -159,7 +159,7 @@ static void
prop_tester_init (PropTester* t) prop_tester_init (PropTester* t)
{ {
if (t->name == NULL) if (t->name == NULL)
; /* neds unit test framework initialization: g_test_bug ("race initializing properties"); */ { } /* needs unit test framework initialization: g_test_bug ("race initializing properties"); */
} }
static void static void
prop_tester_set_property (GObject *object, prop_tester_set_property (GObject *object,