Partition: Remove unused has_data_media variable
Change-Id: Ic1a3aa2b57db5539ce6f6740a63bfe6d33890d70
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user