Files
android_bootable_recovery/twinstall.cpp
lambdadroid c4faea8c5b Fix build error on Pie with TW_NO_LEGACY_PROPS := true
Fixes:
bootable/recovery/twinstall.cpp:83:12: error: unused function 'switch_to_legacy_properties' [-Werror,-Wunused-function]
static int switch_to_legacy_properties()
           ^
bootable/recovery/twinstall.cpp:110:12: error: unused function 'switch_to_new_properties' [-Werror,-Wunused-function]
static int switch_to_new_properties()
           ^
bootable/recovery/twinstall.cpp:176:13: error: unused function 'update_binary_has_legacy_properties' [-Werror,-Wunused-function]
static bool update_binary_has_legacy_properties(const char *binary) {
            ^
3 errors generated.

Change-Id: Ie30fd7ae74b00e791100572b49a17ff638212e5a
2018-09-26 22:56:51 +02:00

13 KiB