summaryrefslogtreecommitdiffstats
path: root/runtime/arch
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-04-07 09:51:52 -0700
committerAndreas Gampe <agampe@google.com>2015-04-07 09:51:52 -0700
commitd8750647949f0f24c28bd55781f72055b5486c43 (patch)
tree881e9a60f73a65c9c0a1e18142c350d7d9fdcc0b /runtime/arch
parent71ae88325ae0af5508c6470b353096184cbcc728 (diff)
downloadart-d8750647949f0f24c28bd55781f72055b5486c43.tar.gz
art-d8750647949f0f24c28bd55781f72055b5486c43.tar.bz2
art-d8750647949f0f24c28bd55781f72055b5486c43.zip
ART: Remove unused variables.
Curious that neither Clang nor GCC flagged those. Change-Id: Ie1866d8171651c768e378d829a669cc57cab1f09
Diffstat (limited to 'runtime/arch')
-rw-r--r--runtime/arch/mips64/instruction_set_features_mips64.cc1
-rw-r--r--runtime/arch/x86/instruction_set_features_x86.cc1
2 files changed, 0 insertions, 2 deletions
diff --git a/runtime/arch/mips64/instruction_set_features_mips64.cc b/runtime/arch/mips64/instruction_set_features_mips64.cc
index 8c48a084bf..5c0c91422b 100644
--- a/runtime/arch/mips64/instruction_set_features_mips64.cc
+++ b/runtime/arch/mips64/instruction_set_features_mips64.cc
@@ -27,7 +27,6 @@ namespace art {
const Mips64InstructionSetFeatures* Mips64InstructionSetFeatures::FromVariant(
const std::string& variant, std::string* error_msg ATTRIBUTE_UNUSED) {
if (variant != "default" && variant != "mips64r6") {
- std::ostringstream os;
LOG(WARNING) << "Unexpected CPU variant for Mips64 using defaults: " << variant;
}
bool smp = true; // Conservative default.
diff --git a/runtime/arch/x86/instruction_set_features_x86.cc b/runtime/arch/x86/instruction_set_features_x86.cc
index 8227633c97..ef399992b6 100644
--- a/runtime/arch/x86/instruction_set_features_x86.cc
+++ b/runtime/arch/x86/instruction_set_features_x86.cc
@@ -63,7 +63,6 @@ const X86InstructionSetFeatures* X86InstructionSetFeatures::FromVariant(
bool known_variant = FindVariantInArray(x86_known_variants, arraysize(x86_known_variants),
variant);
if (!known_variant && variant != "default") {
- std::ostringstream os;
LOG(WARNING) << "Unexpected CPU variant for X86 using defaults: " << variant;
}