diff options
author | Peter Eisentraut | 2011-04-19 17:01:51 +0000 |
---|---|---|
committer | Peter Eisentraut | 2011-04-19 17:01:51 +0000 |
commit | 001cbb145f3250b0d69d6be3d5fa0236e1a261dc (patch) | |
tree | fb9f9edea11f6750118f27d70853cd77c76d14e4 | |
parent | 390cf3209b718382c0ec9793b714422189e9b68b (diff) |
Avoid unused variable warnings for certain configurations
-rw-r--r-- | contrib/pg_test_fsync/pg_test_fsync.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/pg_test_fsync/pg_test_fsync.c b/contrib/pg_test_fsync/pg_test_fsync.c index 305b3d0723..2b2e292022 100644 --- a/contrib/pg_test_fsync/pg_test_fsync.c +++ b/contrib/pg_test_fsync/pg_test_fsync.c @@ -359,9 +359,11 @@ test_open_syncs(void) static void test_open_sync(const char *msg, int writes_size) { +#ifdef OPEN_SYNC_FLAG int tmpfile, ops, writes; +#endif printf(LABEL_FORMAT, msg); fflush(stdout); |