summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/sd-ndisc.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-10-12 18:47:28 +0200
committerLennart Poettering <lennart@poettering.net>2018-10-13 12:37:13 +0200
commit76f713dfa47f803ef843ea2ae86ab2db2eea37d6 (patch)
tree4fca2e7842b6eacccf61c0cf13e03e1ac26aba79 /src/libsystemd-network/sd-ndisc.c
parentfcadf032c00f94a323fe0d15e45dd42b9765d979 (diff)
downloadsystemd-76f713dfa47f803ef843ea2ae86ab2db2eea37d6.tar.gz
sd-ndisc: voidify sd_ndisc_stop() call
CID 1395839
Diffstat (limited to 'src/libsystemd-network/sd-ndisc.c')
-rw-r--r--src/libsystemd-network/sd-ndisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/sd-ndisc.c b/src/libsystemd-network/sd-ndisc.c
index 126a2929a9..6f0e2ca0df 100644
--- a/src/libsystemd-network/sd-ndisc.c
+++ b/src/libsystemd-network/sd-ndisc.c
@@ -301,7 +301,7 @@ static int ndisc_timeout(sd_event_source *s, uint64_t usec, void *userdata) {
return 0;
fail:
- sd_ndisc_stop(nd);
+ (void) sd_ndisc_stop(nd);
return 0;
}