summaryrefslogtreecommitdiffstats
path: root/partitionmanager.cpp
diff options
context:
space:
mode:
authorMatt Mower <mowerm@gmail.com>2017-02-15 03:42:42 +0100
committerDees Troy <dees_troy@teamw.in>2017-02-16 17:09:44 +0100
commit9cc33c8391966168de19df155193937ce2b1fc6d (patch)
tree3882de501b1520dc04bfe49dd2b1b159c3900944 /partitionmanager.cpp
parentGUI: Fix typo in warning message (diff)
downloadandroid_bootable_recovery-9cc33c8391966168de19df155193937ce2b1fc6d.tar
android_bootable_recovery-9cc33c8391966168de19df155193937ce2b1fc6d.tar.gz
android_bootable_recovery-9cc33c8391966168de19df155193937ce2b1fc6d.tar.bz2
android_bootable_recovery-9cc33c8391966168de19df155193937ce2b1fc6d.tar.lz
android_bootable_recovery-9cc33c8391966168de19df155193937ce2b1fc6d.tar.xz
android_bootable_recovery-9cc33c8391966168de19df155193937ce2b1fc6d.tar.zst
android_bootable_recovery-9cc33c8391966168de19df155193937ce2b1fc6d.zip
Diffstat (limited to 'partitionmanager.cpp')
-rw-r--r--partitionmanager.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/partitionmanager.cpp b/partitionmanager.cpp
index 9afc67727..bc4d8e136 100644
--- a/partitionmanager.cpp
+++ b/partitionmanager.cpp
@@ -1637,11 +1637,9 @@ int TWPartitionManager::Open_Lun_File(string Partition_Path, string Lun_File) {
}
int TWPartitionManager::usb_storage_enable(void) {
- int has_data_media;
char lun_file[255];
bool has_multiple_lun = false;
- DataManager::GetValue(TW_HAS_DATA_MEDIA, has_data_media);
string Lun_File_str = CUSTOM_LUN_FILE;
size_t found = Lun_File_str.find("%");
if (found != string::npos) {