summaryrefslogtreecommitdiffstats
path: root/src/mtab.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mtab.c')
-rw-r--r--src/mtab.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mtab.c b/src/mtab.c
index 384fdfc..6b6f9d1 100644
--- a/src/mtab.c
+++ b/src/mtab.c
@@ -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),