Fix compile error with IGNORE_MISC_WIPE_DATA in some trees
Change-Id: I4a57e4e90158d50a9e9c9aef8ed1da9ee9179554
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user