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

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) { static int dbus_event(int fd, uint32_t mask, void *data) {
sd_bus *bus = data; sd_bus *bus = data;
while (sd_bus_process(bus, NULL) > 0) { while (sd_bus_process(bus, NULL) > 0) {
; // Do nothing.
} }
return 1; return 1;
} }