aboutsummaryrefslogtreecommitdiffstats
path: root/src/inotify_update.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-12-14 23:22:51 +0100
committerMax Kellermann <max@duempel.org>2009-12-14 23:22:51 +0100
commit51d06873770743553924f7de46462bd1724e6ff1 (patch)
tree168c4c02242e3db50d9167943bbfda4b0058bf37 /src/inotify_update.c
parent849d7895dca3cc86212217fb57ab3d426eff50e7 (diff)
downloadmpd-51d06873770743553924f7de46462bd1724e6ff1.tar.gz
mpd-51d06873770743553924f7de46462bd1724e6ff1.tar.xz
mpd-51d06873770743553924f7de46462bd1724e6ff1.zip
fixed several gcc warnings on unused debug variables
Diffstat (limited to 'src/inotify_update.c')
-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);