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;
|
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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user