Update code to fix two unused variable warnings.
Test: m
Change-Id: I817bc3e5405d2b089841429ae22b2004305dac50
diff --git a/compiler/optimizing/code_generator.cc b/compiler/optimizing/code_generator.cc
index ca35d99..a164b15 100644
--- a/compiler/optimizing/code_generator.cc
+++ b/compiler/optimizing/code_generator.cc
@@ -1240,7 +1240,6 @@
}
uint32_t outer_dex_pc = dex_pc;
- uint32_t outer_environment_size = 0u;
uint32_t inlining_depth = 0;
HEnvironment* const environment = instruction->GetEnvironment();
if (environment != nullptr) {
@@ -1250,7 +1249,6 @@
++inlining_depth;
}
outer_dex_pc = outer_environment->GetDexPc();
- outer_environment_size = outer_environment->Size();
}
HLoopInformation* info = instruction->GetBlock()->GetLoopInformation();
diff --git a/imgdiag/imgdiag.cc b/imgdiag/imgdiag.cc
index e8f4d05..a27d923 100644
--- a/imgdiag/imgdiag.cc
+++ b/imgdiag/imgdiag.cc
@@ -1266,6 +1266,7 @@
total_dirty_pages += num_dirty_pages;
}
}
+ os << "Found " << total_dirty_pages << " dirty pages in total ";
// Commit the mappings and files.
image_proc_maps_ = std::move(image_proc_maps);