projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
390cf32
)
Avoid unused variable warnings for certain configurations
author
Peter Eisentraut
<peter_e@gmx.net>
Tue, 19 Apr 2011 17:01:51 +0000
(20:01 +0300)
committer
Peter Eisentraut
<peter_e@gmx.net>
Tue, 19 Apr 2011 17:01:51 +0000
(20:01 +0300)
contrib/pg_test_fsync/pg_test_fsync.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/pg_test_fsync/pg_test_fsync.c
b/contrib/pg_test_fsync/pg_test_fsync.c
index 305b3d0723ddf23014d56b87c0e4aa2ab3afd6a0..2b2e292022a3675255c3caab4bdf894ea9ca309b 100644
(file)
--- 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);