Skip to content

Commit 001cbb1

Browse files
committed
Avoid unused variable warnings for certain configurations
1 parent 390cf32 commit 001cbb1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

contrib/pg_test_fsync/pg_test_fsync.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,9 +359,11 @@ test_open_syncs(void)
359359
static void
360360
test_open_sync(const char *msg, int writes_size)
361361
{
362+
#ifdef OPEN_SYNC_FLAG
362363
int tmpfile,
363364
ops,
364365
writes;
366+
#endif
365367

366368
printf(LABEL_FORMAT, msg);
367369
fflush(stdout);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy