Avoid unused variable warnings for certain configurations

This commit is contained in:
Peter Eisentraut 2011-04-19 20:01:51 +03:00
parent 390cf3209b
commit 001cbb145f

View File

@ -359,9 +359,11 @@ test_open_syncs(void)
static void static void
test_open_sync(const char *msg, int writes_size) test_open_sync(const char *msg, int writes_size)
{ {
#ifdef OPEN_SYNC_FLAG
int tmpfile, int tmpfile,
ops, ops,
writes; writes;
#endif
printf(LABEL_FORMAT, msg); printf(LABEL_FORMAT, msg);
fflush(stdout); fflush(stdout);