]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
execute: (void)ify more
authorLennart Poettering <lennart@poettering.net>
Thu, 7 Mar 2019 15:40:06 +0000 (16:40 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 7 Mar 2019 15:53:45 +0000 (16:53 +0100)
src/core/namespace.c

index d482c40c240a523f35f8c254dda419940a783f0a..87e4a8a25fc62125ea71453d14753ace7dfc172f 100644 (file)
@@ -1661,14 +1661,14 @@ int setup_netns(int netns_storage_socket[static 2]) {
 
         netns = receive_one_fd(netns_storage_socket[0], MSG_DONTWAIT);
         if (netns == -EAGAIN) {
-                /* Nothing stored yet, so let's create a new namespace */
+                /* Nothing stored yet, so let's create a new namespace. */
 
                 if (unshare(CLONE_NEWNET) < 0) {
                         r = -errno;
                         goto fail;
                 }
 
-                loopback_setup();
+                (void) loopback_setup();
 
                 netns = open("/proc/self/ns/net", O_RDONLY|O_CLOEXEC|O_NOCTTY);
                 if (netns < 0) {