aboutsummaryrefslogtreecommitdiffstats
path: root/src/inotify_update.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/inotify_update.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/inotify_update.c b/src/inotify_update.c
index 57c815250..53a7ff73c 100644
--- a/src/inotify_update.c
+++ b/src/inotify_update.c
@@ -80,6 +80,7 @@ tree_add_watch_directory(struct watch_directory *directory)
static void
tree_remove_watch_directory(struct watch_directory *directory)
{
+ G_GNUC_UNUSED
bool found = g_tree_remove(inotify_directories,
GINT_TO_POINTER(directory->descriptor));
assert(found);