]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
resolve: voidify one function call 39746/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 16 Nov 2025 05:06:24 +0000 (14:06 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 16 Nov 2025 05:06:26 +0000 (14:06 +0900)
Fixes CID#1643235.

src/resolve/resolved-hook.c

index fb8342ecd6a7470b28ec975bf10d3fd7076311dd..6940b7ef1450be0114157ae28f410e600da049ed 100644 (file)
@@ -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;