Merge "verifier_test: Suppress the unused parameter warnings."
This commit is contained in:
@@ -138,13 +138,13 @@ class MockUI : public RecoveryUI {
|
|||||||
void Init() { }
|
void Init() { }
|
||||||
void SetStage(int, int) { }
|
void SetStage(int, int) { }
|
||||||
void SetLocale(const char*) { }
|
void SetLocale(const char*) { }
|
||||||
void SetBackground(Icon icon) { }
|
void SetBackground(Icon /*icon*/) { }
|
||||||
|
|
||||||
void SetProgressType(ProgressType determinate) { }
|
void SetProgressType(ProgressType /*determinate*/) { }
|
||||||
void ShowProgress(float portion, float seconds) { }
|
void ShowProgress(float /*portion*/, float /*seconds*/) { }
|
||||||
void SetProgress(float fraction) { }
|
void SetProgress(float /*fraction*/) { }
|
||||||
|
|
||||||
void ShowText(bool visible) { }
|
void ShowText(bool /*visible*/) { }
|
||||||
bool IsTextVisible() { return false; }
|
bool IsTextVisible() { return false; }
|
||||||
bool WasTextEverVisible() { return false; }
|
bool WasTextEverVisible() { return false; }
|
||||||
void Print(const char* fmt, ...) {
|
void Print(const char* fmt, ...) {
|
||||||
@@ -161,9 +161,10 @@ class MockUI : public RecoveryUI {
|
|||||||
}
|
}
|
||||||
void ShowFile(const char*) { }
|
void ShowFile(const char*) { }
|
||||||
|
|
||||||
void StartMenu(const char* const * headers, const char* const * items,
|
void StartMenu(const char* const* /*headers*/,
|
||||||
int initial_selection) { }
|
const char* const* /*items*/,
|
||||||
int SelectMenu(int sel) { return 0; }
|
int /*initial_selection*/) { }
|
||||||
|
int SelectMenu(int /*sel*/) { return 0; }
|
||||||
void EndMenu() { }
|
void EndMenu() { }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user