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

@ -98,8 +98,10 @@ static char *segment_name(char *fn, size_t l, unsigned id) {
#endif
int pa_shm_create_rw(pa_shm *m, size_t size, pa_bool_t shared, mode_t mode) {
#ifdef HAVE_SHM_OPEN
char fn[32];
int fd = -1;
#endif
pa_assert(m);
pa_assert(size > 0);