win32: Make some unused-variable warnings go away

This commit is contained in:
Maarten Bosmans 2011-06-23 22:21:03 +02:00 committed by Colin Guthrie
parent 3adc43b8fe
commit 5818a2c63e
15 changed files with 49 additions and 29 deletions

View file

@ -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))) {

View file

@ -72,7 +72,9 @@ int pa__init(pa_module*m) {
pa_iochannel *io;
pa_modargs *ma;
pa_bool_t exit_on_eof = FALSE;
#ifndef OS_IS_WIN32
int fd;
#endif
pa_assert(m);