summaryrefslogtreecommitdiff
path: root/bus/dir-watch-kqueue.c
diff options
context:
space:
mode:
authorChengwei Yang <chengwei.yang@intel.com>2013-06-26 21:35:09 +0800
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2013-06-26 15:28:57 +0100
commit23fa534a0a6ec74ed22fcf132a00fac4a78ca994 (patch)
tree822d6f0bbf611c321f93ca9f1edcf8dccaf61672 /bus/dir-watch-kqueue.c
parenteec093bbdb14d17d9d1cc01bca3fff7f1d3931e7 (diff)
downloaddbus-23fa534a0a6ec74ed22fcf132a00fac4a78ca994.tar.gz
kqueue: remove unused variable
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=66035
Diffstat (limited to 'bus/dir-watch-kqueue.c')
-rw-r--r--bus/dir-watch-kqueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bus/dir-watch-kqueue.c b/bus/dir-watch-kqueue.c
index ac6290cc..c60560f0 100644
--- a/bus/dir-watch-kqueue.c
+++ b/bus/dir-watch-kqueue.c
@@ -139,7 +139,7 @@ bus_set_watched_dirs (BusContext *context, DBusList **directories)
int new_fds[MAX_DIRS_TO_WATCH];
char *new_dirs[MAX_DIRS_TO_WATCH];
DBusList *link;
- int i, j, f, fd;
+ int i, j, fd;
struct kevent ev;
if (!_init_kqueue (context))