aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schramm <handle@jss.de>2018-01-21 17:00:15 +0100
committerJohannes Schramm <handle@jss.de>2018-01-21 17:00:15 +0100
commite37ebf6869b653c91c27af706404d60b78ad0168 (patch)
treef647556518bce511ee33fc1da0832a0a2559f705
parentdcc743047b903af8ba409ed25745f891234dc323 (diff)
style: add comment to empty while loop in logind.c
-rw-r--r--backend/session/logind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/session/logind.c b/backend/session/logind.c
index aa38b46c..1ece051f 100644
--- a/backend/session/logind.c
+++ b/backend/session/logind.c
@@ -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;
}