mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 10:04:18 +00:00
Merge pull request #8991 from opensourcerouting/sd-coverity-fix
lib: fix coverity unused result warning
This commit is contained in:
commit
aaba414937
@ -66,7 +66,7 @@ static void systemd_send_information(const char *info)
|
|||||||
sun.sun_path[0] = '\0';
|
sun.sun_path[0] = '\0';
|
||||||
|
|
||||||
/* nothing we can do if this errors out... */
|
/* nothing we can do if this errors out... */
|
||||||
sendto(sock, info, strlen(info), 0, (struct sockaddr *)&sun,
|
(void)sendto(sock, info, strlen(info), 0, (struct sockaddr *)&sun,
|
||||||
sizeof(sun));
|
sizeof(sun));
|
||||||
|
|
||||||
close(sock);
|
close(sock);
|
||||||
|
Loading…
Reference in New Issue
Block a user