Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit baabf05

Browse files
committed
Silence compiler warning about undefined function when compiling without
assertions.
1 parent 05d93c3 commit baabf05

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/backend/replication/syncrep.c

+2
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ static bool announce_next_takeover = true;
7171
static void SyncRepQueueInsert(void);
7272

7373
static int SyncRepGetStandbyPriority(void);
74+
#ifdef USE_ASSERT_CHECKING
7475
static bool SyncRepQueueIsOrderedByLSN(void);
76+
#endif
7577

7678
/*
7779
* ===========================================================

0 commit comments

Comments
 (0)