Remove unused variable from ClusterMonitorGetGlobalXmin
authorTomas Vondra <[email protected]>
Fri, 12 Oct 2018 13:16:13 +0000 (15:16 +0200)
committerTomas Vondra <[email protected]>
Fri, 12 Oct 2018 13:16:13 +0000 (15:16 +0200)
src/backend/postmaster/clustermon.c

index e07ec949b9e3550ecb461dcb8bdd051fb53b1688..c948e8f629e75c22206f8b5c8c8479a391f27ba5 100644 (file)
@@ -401,7 +401,6 @@ GlobalTransactionId
 ClusterMonitorGetGlobalXmin(bool invalid_ok)
 {
        GlobalTransactionId xmin = InvalidGlobalTransactionId;
-       int                                     retries = 0;
 
        SpinLockAcquire(&ClusterMonitorCtl->mutex);
        xmin = ClusterMonitorCtl->gtm_recent_global_xmin;