summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2016-02-09 05:06:18 +0100
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-02-09 05:06:18 +0100
commitc213a7c1d1eb0c6ab9bbe08c7375e8814a59a3ac (patch)
tree98499adb94575c0ea4b98c01feb58896297f5efb
parentMerge "Change on-device directory for recovery test data" (diff)
parentverifier_test: Suppress the unused parameter warnings. (diff)
downloadandroid_bootable_recovery-c213a7c1d1eb0c6ab9bbe08c7375e8814a59a3ac.tar
android_bootable_recovery-c213a7c1d1eb0c6ab9bbe08c7375e8814a59a3ac.tar.gz
android_bootable_recovery-c213a7c1d1eb0c6ab9bbe08c7375e8814a59a3ac.tar.bz2
android_bootable_recovery-c213a7c1d1eb0c6ab9bbe08c7375e8814a59a3ac.tar.lz
android_bootable_recovery-c213a7c1d1eb0c6ab9bbe08c7375e8814a59a3ac.tar.xz
android_bootable_recovery-c213a7c1d1eb0c6ab9bbe08c7375e8814a59a3ac.tar.zst
android_bootable_recovery-c213a7c1d1eb0c6ab9bbe08c7375e8814a59a3ac.zip
-rw-r--r--tests/component/verifier_test.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/tests/component/verifier_test.cpp b/tests/component/verifier_test.cpp
index c54aa111f..d6f1e0bb9 100644
--- a/tests/component/verifier_test.cpp
+++ b/tests/component/verifier_test.cpp
@@ -138,13 +138,13 @@ class MockUI : public RecoveryUI {
void Init() { }
void SetStage(int, int) { }
void SetLocale(const char*) { }
- void SetBackground(Icon icon) { }
+ void SetBackground(Icon /*icon*/) { }
- void SetProgressType(ProgressType determinate) { }
- void ShowProgress(float portion, float seconds) { }
- void SetProgress(float fraction) { }
+ void SetProgressType(ProgressType /*determinate*/) { }
+ void ShowProgress(float /*portion*/, float /*seconds*/) { }
+ void SetProgress(float /*fraction*/) { }
- void ShowText(bool visible) { }
+ void ShowText(bool /*visible*/) { }
bool IsTextVisible() { return false; }
bool WasTextEverVisible() { return false; }
void Print(const char* fmt, ...) {
@@ -161,9 +161,10 @@ class MockUI : public RecoveryUI {
}
void ShowFile(const char*) { }
- void StartMenu(const char* const * headers, const char* const * items,
- int initial_selection) { }
- int SelectMenu(int sel) { return 0; }
+ void StartMenu(const char* const* /*headers*/,
+ const char* const* /*items*/,
+ int /*initial_selection*/) { }
+ int SelectMenu(int /*sel*/) { return 0; }
void EndMenu() { }
};