Unused variable cleanup
Change-Id: I2397d0bd221dcf5c9d0f971ba157519bcf014a70
diff --git a/twrp-functions.cpp b/twrp-functions.cpp
index 9296c34..3c6c55b 100644
--- a/twrp-functions.cpp
+++ b/twrp-functions.cpp
@@ -179,7 +179,7 @@
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 @@
static const char *paths[] = { "/data/system/time/", "/data/time/" };
FILE *f;
- DIR *d;
offset = 0;
struct dirent *dt;
std::string ats_path;