Explicitly mark address port not used

On many places return value is ignored. Usually it means port is always
the same and not needed to be displayed. Unify warnings.
This commit is contained in:
Petr Mensik
2019-07-04 20:28:08 +02:00
committed by Simon Kelley
parent 66adee85be
commit 51cdd1a227
4 changed files with 10 additions and 10 deletions

View File

@@ -237,7 +237,7 @@ static DBusMessage *dbus_reply_server_loop(DBusMessage *message)
for (serv = daemon->servers; serv; serv = serv->next)
if (serv->flags & SERV_LOOP)
{
prettyprint_addr(&serv->addr, daemon->addrbuff);
(void)prettyprint_addr(&serv->addr, daemon->addrbuff);
dbus_message_iter_append_basic (&args_iter, DBUS_TYPE_STRING, &daemon->addrbuff);
}