style: include brackets for if/while/for, even if it's a single statement

This commit is contained in:
Johannes Schramm 2018-01-21 16:28:21 +01:00
parent 1fbd6cb0f0
commit dcc743047b
7 changed files with 39 additions and 15 deletions

View file

@ -330,7 +330,9 @@ static bool add_signal_matches(struct logind_session *session) {
static int dbus_event(int fd, uint32_t mask, void *data) {
sd_bus *bus = data;
while (sd_bus_process(bus, NULL) > 0);
while (sd_bus_process(bus, NULL) > 0) {
;
}
return 1;
}