The mode_t mask wasn't guarded by ifdefs.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
---
src/irmd/main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/irmd/main.c b/src/irmd/main.c
index 8ca0a1d..22d9413 100644
--- a/src/irmd/main.c
+++ b/src/irmd/main.c
@@ -2292,8 +2292,9 @@ static int irm_init(void)
{
struct stat st;
pthread_condattr_t cattr;
+#ifdef HAVE_FUSE
mode_t mask;
-
+#endif
memset(&st, 0, sizeof(st));
if (pthread_rwlock_init(&irmd.state_lock, NULL)) {
--
2.32.0