summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) {