mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
resolve: voidify one function call
Fixes CID#1643235.
This commit is contained in:
@@ -299,7 +299,7 @@ static void hook_recycle_varlink(Hook *h, sd_varlink *vl) {
|
||||
|
||||
/* Disable any potential callbacks while we are recycling the thing */
|
||||
sd_varlink_set_userdata(vl, NULL);
|
||||
sd_varlink_bind_reply(vl, NULL);
|
||||
(void) sd_varlink_bind_reply(vl, NULL);
|
||||
|
||||
if (set_size(h->idle_links) > HOOK_IDLE_CONNECTIONS_MAX)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user