summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2018-12-12 11:27:56 -0800
committerDan Albert <danalbert@google.com>2018-12-12 11:27:56 -0800
commit30d1d22c70adc51f2a8d6810102ec8cd62585dc9 (patch)
tree9d41443463b0b8bda229012c0a1d6ecba8eacee6
parent1dcb951d1191dccfe53f4969271e4c01cebe0213 (diff)
Remove unused variable.
This doesn't fire until libc++ is updated. Presumably this used to have some side effect that it shouldn't have had. Test: m checkbuild Bug: None Change-Id: Ic60e0885799143efde23b91b05e5c1afd8356ae9
-rw-r--r--boot_control.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/boot_control.cpp b/boot_control.cpp
index e8a6421..2452412 100644
--- a/boot_control.cpp
+++ b/boot_control.cpp
@@ -527,7 +527,6 @@ int set_active_boot_slot(struct boot_control_module *module, unsigned slot)
int rc = -1;
int is_ufs = gpt_utils_is_ufs_device();
map<string, vector<string>>::iterator map_iter;
- vector<string>::iterator string_iter;
if (boot_control_check_slot_sanity(module, slot)) {
ALOGE("%s: Bad arguments", __func__);