From 3bbead548026155c8bb5b212bed80903a3ef6a97 Mon Sep 17 00:00:00 2001 From: David Steele Date: Fri, 28 Feb 2020 15:03:01 -0500 Subject: [PATCH] Add missing asserts. These interface functions did not exist when the Storage object was created but they are now required. --- src/storage/storage.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/storage/storage.c b/src/storage/storage.c index 3000da4cb..0af9e00c7 100644 --- a/src/storage/storage.c +++ b/src/storage/storage.c @@ -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);