From baabf05196922164db80bdc45fd0660c8700f1f7 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Mon, 7 Mar 2011 09:56:53 +0200 Subject: [PATCH] Silence compiler warning about undefined function when compiling without assertions. --- src/backend/replication/syncrep.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/backend/replication/syncrep.c b/src/backend/replication/syncrep.c index be5f055d8e..f6c3538650 100644 --- a/src/backend/replication/syncrep.c +++ b/src/backend/replication/syncrep.c @@ -71,7 +71,9 @@ static bool announce_next_takeover = true; static void SyncRepQueueInsert(void); static int SyncRepGetStandbyPriority(void); +#ifdef USE_ASSERT_CHECKING static bool SyncRepQueueIsOrderedByLSN(void); +#endif /* * =========================================================== -- GitLab