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 authored and Simon Kelley committed 2020-04-29 00:04:04 +01:00
1 parent 66adee85be
commit 51cdd1a227
4 files changed
+10 -10

No files matched your search

+1 -1
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);
}