summaryrefslogtreecommitdiff
path: root/boot_control.cpp
diff options
context:
space:
mode:
authorDivya Sharma <divyash@codeaurora.org>2019-01-29 14:59:13 -0800
committerDivya Sharma <divyash@codeaurora.org>2019-01-29 17:39:40 -0800
commitc94d11a34ecb2da9ea9916288e105a0dcb4d1acf (patch)
tree513de81350cca9d8840199362da816dcee5791f4 /boot_control.cpp
parent3263aa49b1961d78cbb503f5beb17e63b9e133b4 (diff)
Fix build errors.
- boot_control: Removes unused variable. Change-Id: Ib8b5f5bed54dcba8bd24eeb79927fffd422c0b4d
Diffstat (limited to 'boot_control.cpp')
-rw-r--r--boot_control.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/boot_control.cpp b/boot_control.cpp
index 7319f9a..899b6e2 100644
--- a/boot_control.cpp
+++ b/boot_control.cpp
@@ -526,7 +526,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__);