You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-15 01:04:37 +02:00
Add missing assertion in lstFind().
This commit is contained in:
@ -185,6 +185,7 @@ lstFind(const List *this, const void *item)
|
|||||||
FUNCTION_TEST_END();
|
FUNCTION_TEST_END();
|
||||||
|
|
||||||
ASSERT(this != NULL);
|
ASSERT(this != NULL);
|
||||||
|
ASSERT(this->comparator != NULL);
|
||||||
ASSERT(item != NULL);
|
ASSERT(item != NULL);
|
||||||
|
|
||||||
if (this->sortOrder == sortOrderAsc)
|
if (this->sortOrder == sortOrderAsc)
|
||||||
|
Reference in New Issue
Block a user