From 5818a2c63e9a52a545b9c8eb6fdbfa24cfee822f Mon Sep 17 00:00:00 2001 From: Maarten Bosmans Date: Thu, 23 Jun 2011 22:21:03 +0200 Subject: win32: Make some unused-variable warnings go away --- src/modules/module-augment-properties.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/module-augment-properties.c') diff --git a/src/modules/module-augment-properties.c b/src/modules/module-augment-properties.c index bfc637aa..05f6f0a4 100644 --- a/src/modules/module-augment-properties.c +++ b/src/modules/module-augment-properties.c @@ -175,10 +175,10 @@ static void update_rule(struct rule *r) { if (stat(fn, &st) == 0) found = TRUE; else { +#ifdef DT_DIR DIR *desktopfiles_dir; struct dirent *dir; -#ifdef DT_DIR /* Let's try a more aggressive search, but only one level */ if ((desktopfiles_dir = opendir(DESKTOPFILEDIR))) { while ((dir = readdir(desktopfiles_dir))) { -- cgit