mirror of
https://github.com/postgres/postgres.git
synced 2025-04-25 21:42:33 +03:00
Remove useless assertion.
Here, snapshot->xcnt is an unsigned type, so it will always be non-negative.
This commit is contained in:
parent
5850b20f58
commit
ae6157164f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user