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
......@@ -332,7 +332,7 @@ get_args(int *argc, char ***argv) {
// walking through the factory reset screen - without actually doing a factory reset
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);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment