From ae6157164faf5ec1636a9acfe18bfd28a31db098 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Wed, 13 May 2015 11:01:10 -0400 Subject: [PATCH] Remove useless assertion. Here, snapshot->xcnt is an unsigned type, so it will always be non-negative. --- src/backend/utils/time/snapmgr.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/backend/utils/time/snapmgr.c b/src/backend/utils/time/snapmgr.c index a2cb4a037f..f4bdabfd79 100644 --- a/src/backend/utils/time/snapmgr.c +++ b/src/backend/utils/time/snapmgr.c @@ -1480,7 +1480,6 @@ SerializeSnapshot(Snapshot snapshot, char *start_address) { SerializedSnapshotData *serialized_snapshot; - Assert(snapshot->xcnt >= 0); Assert(snapshot->subxcnt >= 0); serialized_snapshot = (SerializedSnapshotData *) start_address; -- 2.40.0