mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
style: include brackets for if/while/for, even if it's a single statement
This commit is contained in:
parent
1fbd6cb0f0
commit
dcc743047b
7 changed files with 39 additions and 15 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue