1
0
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:
David Steele
2020-10-07 15:17:16 -04:00
parent 98f6a1cffd
commit c8a94d9eb6

View File

@ -185,6 +185,7 @@ lstFind(const List *this, const void *item)
FUNCTION_TEST_END();
ASSERT(this != NULL);
ASSERT(this->comparator != NULL);
ASSERT(item != NULL);
if (this->sortOrder == sortOrderAsc)