You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-11-06 08:49:29 +02:00
Add missing assertion in lstSort().
This commit is contained in:
@@ -407,6 +407,7 @@ lstSort(List *this, SortOrder sortOrder)
|
|||||||
FUNCTION_TEST_END();
|
FUNCTION_TEST_END();
|
||||||
|
|
||||||
ASSERT(this != NULL);
|
ASSERT(this != NULL);
|
||||||
|
ASSERT(this->comparator != NULL);
|
||||||
|
|
||||||
switch (sortOrder)
|
switch (sortOrder)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user