style: add comment to empty while loop in logind.c

This commit is contained in:
Johannes Schramm 2018-01-21 17:00:15 +01:00
parent dcc743047b
commit e37ebf6869
1 changed files with 1 additions and 1 deletions

View File

@ -331,7 +331,7 @@ 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) {
;
// Do nothing.
}
return 1;
}