multipath: delegate_to_multipathd: mark unused arguments
authorMartin Wilck <mwilck@suse.com>
Sat, 12 Oct 2019 21:28:22 +0000 (21:28 +0000)
committerChristophe Varoqui <christophe.varoqui@opensvc.com>
Mon, 2 Mar 2020 08:17:50 +0000 (09:17 +0100)
... for now.

Signed-off-by: Martin Wilck <mwilck@suse.com>
multipath/main.c

index b3f8c99..c2ef8c7 100644 (file)
@@ -811,8 +811,10 @@ enum {
        NOT_DELEGATED = 1,
 };
 
-int delegate_to_multipathd(enum mpath_cmds cmd, const char *dev,
-                          enum devtypes dev_type, const struct config *conf)
+int delegate_to_multipathd(enum mpath_cmds cmd,
+                          __attribute__((unused)) const char *dev,
+                          __attribute__((unused)) enum devtypes dev_type,
+                          const struct config *conf)
 {
        int fd;
        char command[1024], *p, *reply = NULL;