mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
win32: Make some unused-variable warnings go away
This commit is contained in:
parent
3adc43b8fe
commit
5818a2c63e
15 changed files with 49 additions and 29 deletions
|
|
@ -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))) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue