Skip to content

Commit

Permalink
Partition: Remove unused has_data_media variable
Browse files Browse the repository at this point in the history
Change-Id: Ic1a3aa2b57db5539ce6f6740a63bfe6d33890d70
  • Loading branch information
mdmower committed Feb 18, 2017
1 parent c1a1f99 commit d8770f1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions partitionmanager.cpp
Expand Up @@ -1598,11 +1598,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) {
Expand Down

0 comments on commit d8770f1

Please sign in to comment.