From 277ccbd200ea43590dfc06a93ae184a765327ad0 Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Mon, 3 Nov 2014 21:36:10 -0800 Subject: ART: More warnings Enable -Wno-conversion-null, -Wredundant-decls and -Wshadow in general, and -Wunused-but-set-parameter for GCC builds. Change-Id: I81bbdd762213444673c65d85edae594a523836e5 --- compiler/compiled_method.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/compiled_method.h') diff --git a/compiler/compiled_method.h b/compiler/compiled_method.h index cdae8d2d2..0361cd18c 100644 --- a/compiler/compiled_method.h +++ b/compiler/compiled_method.h @@ -162,7 +162,7 @@ class SrcMap FINAL : public std::vector { } this->resize(i + 1); - for (size_t i = size(); --i >= 1; ) { + for (i = size(); --i >= 1; ) { (*this)[i].from_ -= (*this)[i-1].from_; (*this)[i].to_ -= (*this)[i-1].to_; } -- cgit v1.2.3