Skip to content

Commit

Permalink
Fix compile error with IGNORE_MISC_WIPE_DATA in some trees
Browse files Browse the repository at this point in the history
Change-Id: I4a57e4e90158d50a9e9c9aef8ed1da9ee9179554
  • Loading branch information
Dees-Troy committed Nov 30, 2017
1 parent 7c99791 commit 606cc91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootloader_message_twrp/bootloader_message.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 606cc91

Please sign in to comment.