mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-01-18 04:58:51 +02:00
Add missing assertion in lstSort().
This commit is contained in:
parent
099281c510
commit
dc8a9dab1b
@ -407,6 +407,7 @@ lstSort(List *this, SortOrder sortOrder)
|
||||
FUNCTION_TEST_END();
|
||||
|
||||
ASSERT(this != NULL);
|
||||
ASSERT(this->comparator != NULL);
|
||||
|
||||
switch (sortOrder)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user