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

@ -49,6 +49,7 @@ struct timeval *pa_gettimeofday(struct timeval *tv) {
#else
#define EPOCHFILETIME (116444736000000000LL)
#endif
{
FILETIME ft;
LARGE_INTEGER li;
int64_t t;
@ -61,6 +62,7 @@ struct timeval *pa_gettimeofday(struct timeval *tv) {
t /= 10; /* In microseconds */
tv->tv_sec = (time_t) (t / PA_USEC_PER_SEC);
tv->tv_usec = (suseconds_t) (t % PA_USEC_PER_SEC);
}
#elif defined(HAVE_GETTIMEOFDAY)
pa_assert_se(gettimeofday(tv, NULL) == 0);
#else