aosp: cleanup for compiling errors
Change-Id: I957d639a459c3a9e8beab38a1965408b16a693b7
diff --git a/install/wipe_data.cpp b/install/wipe_data.cpp
index 845cc95..387abae 100755
--- a/install/wipe_data.cpp
+++ b/install/wipe_data.cpp
@@ -100,8 +100,8 @@
// ui->SetBackground(RecoveryUI::ERASING);
// ui->SetProgressType(RecoveryUI::INDETERMINATE);
- bool success = EraseVolume("/cache", ui, false);
- ui->Print("Cache wipe %s.\n", success ? "complete" : "failed");
+ bool success = EraseVolume("/cache", nullptr, false);
+ // ui->Print("Cache wipe %s.\n", success ? "complete" : "failed");
return success;
}