Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 606cc915 authored by Ethan Yonker's avatar Ethan Yonker
Browse files

Fix compile error with IGNORE_MISC_WIPE_DATA in some trees

Change-Id: I4a57e4e90158d50a9e9c9aef8ed1da9ee9179554
parent 7c997913
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -332,7 +332,7 @@ get_args(int *argc, char ***argv) {
// walking through the factory reset screen - without actually doing a factory reset
#ifdef IGNORE_MISC_WIPE_DATA
                if (!strcmp(arg, "--wipe_data")) {
                    (*argv)[*argc] = "";
                    (*argv)[*argc] = NULL;
                    *argc = *argc -1;
                    printf("Bootloader arg \"%s\" ignored because TWRP was compiled with TW_IGNORE_MISC_WIPE_DATA\n", arg);
                    continue;