summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2021-06-29 19:51:05 +0200
committerSander Vrijders <sander@ouroboros.rocks>2021-06-30 09:19:47 +0200
commitbeb54470b9641c50cc5d2f1e70b572f72428d8c9 (patch)
tree8266088024dbe162b71fb83956ba3c465300d9f5 /src
parentd5c7ea1f1470e5a0cd1e2818034f248f6b5dbd02 (diff)
downloadouroboros-beb54470b9641c50cc5d2f1e70b572f72428d8c9.tar.gz
ouroboros-beb54470b9641c50cc5d2f1e70b572f72428d8c9.zip
irmd: Fix unused variable in builds without fuse
The mode_t mask wasn't guarded by ifdefs. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src')
-rw-r--r--src/irmd/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/irmd/main.c b/src/irmd/main.c
index 8ca0a1d6..22d94136 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)) {