1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2026-05-22 10:15:16 +02:00

Add missing asserts.

These interface functions did not exist when the Storage object was created but they are now required.
This commit is contained in:
David Steele
2020-02-28 15:03:01 -05:00
parent 19ea699e90
commit 3bbead5480
+2
View File
@@ -58,7 +58,9 @@ storageNew(
ASSERT(strSize(path) >= 1 && strPtr(path)[0] == '/');
ASSERT(driver != NULL);
ASSERT(interface.exists != NULL);
ASSERT(interface.info != NULL);
ASSERT(interface.list != NULL);
ASSERT(interface.infoList != NULL);
ASSERT(interface.newRead != NULL);
ASSERT(interface.newWrite != NULL);
ASSERT(interface.pathRemove != NULL);