Unused variable cleanup

Change-Id: I2397d0bd221dcf5c9d0f971ba157519bcf014a70
This commit is contained in:
Matt Mower
2017-01-06 14:30:33 -06:00
committed by Dees Troy
parent 029a82db6c
commit 23d8aaef29
12 changed files with 18 additions and 55 deletions
+1 -4
View File
@@ -604,7 +604,6 @@ int OpenRecoveryScript::Backup_Command(string Options) {
char value1[SCRIPT_COMMAND_SIZE];
int line_len, i;
string Backup_List;
bool adbbackup = false;
strcpy(value1, Options.c_str());
@@ -748,13 +747,11 @@ int OpenRecoveryScript::Restore_ADB_Backup(void) {
bool breakloop = false;
int partition_count = 0;
std::string Restore_Name;
std::size_t pos = 0;
struct AdbBackupFileTrailer adbmd5;
struct PartitionSettings part_settings;
int adb_control_twrp_fd, adb_write_fd, systemro;
int adb_control_twrp_fd;
int adb_control_bu_fd, ret = 0;
char cmd[512];
int orsfd = open(ORS_OUTPUT_FILE, O_WRONLY);
part_settings.total_restore_size = 0;