fix compiler warnings
Fix a couple unused-parameter warnings so we can turn the warnings all
the way up.
Change-Id: I36c611da5a10732dbb89e289e42a870c902dd245
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/static/item_updater_static.cpp b/static/item_updater_static.cpp
index ea9b7b8..7695aa0 100644
--- a/static/item_updater_static.cpp
+++ b/static/item_updater_static.cpp
@@ -227,7 +227,7 @@
return version;
}
-bool ItemUpdaterStatic::validateImage(const std::string& path)
+bool ItemUpdaterStatic::validateImage(const std::string&)
{
// There is no need to validate static layout pnor
return true;
@@ -327,8 +327,7 @@
return versionId == functionalVersionId;
}
-void ItemUpdaterStatic::freePriority(uint8_t value,
- const std::string& versionId)
+void ItemUpdaterStatic::freePriority(uint8_t, const std::string&)
{}
void ItemUpdaterStatic::deleteAll()