summaryrefslogtreecommitdiff
path: root/bootctl/bootctl.cpp
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-10-18 16:28:14 -0700
committerChih-Hung Hsieh <chh@google.com>2017-10-20 15:46:36 -0700
commit373d3c7257fa815d0b9ee8f16874470a6002042e (patch)
tree2488faeb9a5a2dfd9f76054bd4ba001b4806ffb3 /bootctl/bootctl.cpp
parentd7bf23ae7b93ec93b8b7c2ce98eaa2ea94f387aa (diff)
downloadextras-373d3c7257fa815d0b9ee8f16874470a6002042e.tar.gz
Use -Werror in system/extras
* Remove unused variables. * Fix redefined macro warnings. * Fix sign-compare warnings. * Fix 'return false' in main(). * Keep existing warnings to fix later. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: Ib92ef5297693595fb84ed4f8e61665bda4cee312
Diffstat (limited to 'bootctl/bootctl.cpp')
-rw-r--r--bootctl/bootctl.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/bootctl/bootctl.cpp b/bootctl/bootctl.cpp
index d80bb158..799d0666 100644
--- a/bootctl/bootctl.cpp
+++ b/bootctl/bootctl.cpp
@@ -174,7 +174,6 @@ static uint32_t parse_slot(int pos, int argc, char *argv[])
int main(int argc, char *argv[])
{
sp<IBootControl> module;
- int ret;
if (argc < 2) {
usage(stderr, argc, argv);