diff options
author | shagbag913 <sh4gbag913@gmail.com> | 2019-07-18 18:57:54 -0400 |
---|---|---|
committer | Tom Marshall <tdm.code@gmail.com> | 2019-08-06 20:40:35 +0200 |
commit | 49d54abb4317e9991d703525a994888fbfcdbea3 (patch) | |
tree | 40c589c1d616f2c8ca0337f8d1366427001d517a | |
parent | 99bf69f919d557fbb67953b12e0c952787f4a2b7 (diff) | |
download | android_bootable_recovery-49d54abb4317e9991d703525a994888fbfcdbea3.tar.gz android_bootable_recovery-49d54abb4317e9991d703525a994888fbfcdbea3.tar.bz2 android_bootable_recovery-49d54abb4317e9991d703525a994888fbfcdbea3.zip |
recovery: fix unused parameter build error on user builds
Cast device parameter to void to shut up the compiler.
Change-Id: Ifc6496345d02e83f6bacb8308c4714e1f8b46bf3
Signed-off-by: shagbag913 <sh4gbag913@gmail.com>
-rw-r--r-- | recovery.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recovery.cpp b/recovery.cpp index f66d5781..76bf5193 100644 --- a/recovery.cpp +++ b/recovery.cpp @@ -898,6 +898,7 @@ static bool yes_no(Device* device, const char* question1, const char* question2) static bool ask_to_continue_unverified_install(Device* device) { #ifdef RELEASE_BUILD + (void) device; // silence unused parameter warning return false; #else ui->SetProgressType(RecoveryUI::EMPTY); |