maxSize parameter to binarystore unused
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Iab6d3b5de6c48e34461cc0f88083e761542f3ae5
diff --git a/binarystore.cpp b/binarystore.cpp
index 5b0e299..1307c3a 100644
--- a/binarystore.cpp
+++ b/binarystore.cpp
@@ -29,8 +29,7 @@
std::unique_ptr<BinaryStoreInterface>
BinaryStore::createFromConfig(const std::string& baseBlobId,
- std::unique_ptr<SysFile> file,
- uint32_t maxSize)
+ std::unique_ptr<SysFile> file)
{
if (baseBlobId.empty() || !file)
{
@@ -39,8 +38,7 @@
return nullptr;
}
- auto store =
- std::make_unique<BinaryStore>(baseBlobId, std::move(file), maxSize);
+ auto store = std::make_unique<BinaryStore>(baseBlobId, std::move(file));
if (!store->loadSerializedData())
{