From: Heikki Linnakangas Date: Mon, 7 Mar 2011 07:56:53 +0000 (+0200) Subject: Silence compiler warning about undefined function when compiling without X-Git-Tag: REL9_1_ALPHA4~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=baabf05196922164db80bdc45fd0660c8700f1f7;p=thirdparty%2Fpostgresql.git Silence compiler warning about undefined function when compiling without assertions. --- diff --git a/src/backend/replication/syncrep.c b/src/backend/replication/syncrep.c index be5f055d8ec..f6c3538650d 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 /* * ===========================================================