]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libmount: inhibit warning about mask being unused
authorThomas Weißschuh <thomas@t-8ch.de>
Sun, 5 Mar 2023 14:08:45 +0000 (14:08 +0000)
committerThomas Weißschuh <thomas@t-8ch.de>
Sun, 5 Mar 2023 14:09:17 +0000 (14:09 +0000)
libmount/src/optlist.c

index acdf47150add3d4452ece888026621f900a64a15..8b771b7037a3037dfa633419f301d96cbbeb90ec 100644 (file)
@@ -851,7 +851,7 @@ int mnt_optlist_get_attrs(struct libmnt_optlist *ls, uint64_t *set, uint64_t *cl
 int mnt_optlist_get_attrs(struct libmnt_optlist *ls __attribute__((__unused__)),
                          uint64_t *set __attribute__((__unused__)),
                          uint64_t *clr __attribute__((__unused__)),
-                         int mask)
+                         int mask __attribute__((__unused__)))
 {
        return 0;
 }