diff options
author | Ethan Yonker <dees_troy@teamw.in> | 2017-11-30 17:24:33 +0100 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2017-11-30 17:24:33 +0100 |
commit | 606cc915f16061a12a41b219861b31acce03fa91 (patch) | |
tree | 318a5ca98ec054fe13eda434f2cb134ae0d1c3f6 | |
parent | Fix more compile errors in bootloader_message_twrp (diff) | |
download | android_bootable_recovery-606cc915f16061a12a41b219861b31acce03fa91.tar android_bootable_recovery-606cc915f16061a12a41b219861b31acce03fa91.tar.gz android_bootable_recovery-606cc915f16061a12a41b219861b31acce03fa91.tar.bz2 android_bootable_recovery-606cc915f16061a12a41b219861b31acce03fa91.tar.lz android_bootable_recovery-606cc915f16061a12a41b219861b31acce03fa91.tar.xz android_bootable_recovery-606cc915f16061a12a41b219861b31acce03fa91.tar.zst android_bootable_recovery-606cc915f16061a12a41b219861b31acce03fa91.zip |
-rw-r--r-- | bootloader_message_twrp/bootloader_message.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bootloader_message_twrp/bootloader_message.cpp b/bootloader_message_twrp/bootloader_message.cpp index a7a58f67a..a06ad9a89 100644 --- a/bootloader_message_twrp/bootloader_message.cpp +++ b/bootloader_message_twrp/bootloader_message.cpp @@ -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; |