Remove useless assertion.

Here, snapshot->xcnt is an unsigned type, so it will always be
non-negative.
This commit is contained in:
Robert Haas 2015-05-13 11:01:10 -04:00
parent 5850b20f58
commit ae6157164f

View File

@ -1480,7 +1480,6 @@ SerializeSnapshot(Snapshot snapshot, char *start_address)
{ {
SerializedSnapshotData *serialized_snapshot; SerializedSnapshotData *serialized_snapshot;
Assert(snapshot->xcnt >= 0);
Assert(snapshot->subxcnt >= 0); Assert(snapshot->subxcnt >= 0);
serialized_snapshot = (SerializedSnapshotData *) start_address; serialized_snapshot = (SerializedSnapshotData *) start_address;