From 23d8aaef2964659bd5495638d5b85f00ef3f9620 Mon Sep 17 00:00:00 2001 From: Matt Mower Date: Fri, 6 Jan 2017 14:30:33 -0600 Subject: Unused variable cleanup Change-Id: I2397d0bd221dcf5c9d0f971ba157519bcf014a70 --- twrp-functions.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'twrp-functions.cpp') diff --git a/twrp-functions.cpp b/twrp-functions.cpp index 9296c346d..3c6c55bce 100644 --- a/twrp-functions.cpp +++ b/twrp-functions.cpp @@ -179,7 +179,7 @@ int TWFunc::Try_Decrypting_File(string fn, string password) { uint8_t *buffer_out = NULL; uint8_t *ptr = NULL; size_t read_len = 0, out_len = 0; - int firstbyte = 0, secondbyte = 0, key_len; + int firstbyte = 0, secondbyte = 0; size_t _j = 0; size_t _key_data_len = 0; @@ -889,7 +889,6 @@ void TWFunc::Fixup_Time_On_Boot() static const char *paths[] = { "/data/system/time/", "/data/time/" }; FILE *f; - DIR *d; offset = 0; struct dirent *dt; std::string ats_path; -- cgit v1.2.3