diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2023-11-15 10:04:57 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2023-11-15 10:04:57 -0500 |
commit | f4e8084414e07a8e03cb279090bbcf9eea76ed1e (patch) | |
tree | abdd3472df66c5661e494a0e5bf358b1ee8124ea /src/mtab.c | |
parent | fb4760db85c552b0f538f7af2ad40fa631c20540 (diff) | |
download | bfs-f4e8084414e07a8e03cb279090bbcf9eea76ed1e.tar.xz |
config: New attr_maybe_unused macro
Diffstat (limited to 'src/mtab.c')
-rw-r--r-- | src/mtab.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -59,7 +59,8 @@ struct bfs_mtab { /** * Add an entry to the mount table. */ -static inline int bfs_mtab_add(struct bfs_mtab *mtab, const char *path, const char *type) { +attr_maybe_unused +static int bfs_mtab_add(struct bfs_mtab *mtab, const char *path, const char *type) { struct bfs_mtab_entry entry = { .path = strdup(path), .type = strdup(type), |