summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/class_linker.cc2
-rw-r--r--src/dex_instruction_visitor.h2
-rw-r--r--src/heap.h4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/class_linker.cc b/src/class_linker.cc
index 206a1773d4..46562ca6dc 100644
--- a/src/class_linker.cc
+++ b/src/class_linker.cc
@@ -732,7 +732,7 @@ Class* ClassLinker::FindPrimitiveClass(char type) {
LOG(ERROR) << "Not a primitive type " << static_cast<int>(type);
default:
LOG(ERROR) << "Unknown primitive type " << static_cast<int>(type);
- };
+ }
return NULL; // Not reachable.
}
diff --git a/src/dex_instruction_visitor.h b/src/dex_instruction_visitor.h
index f7fdf77bce..73b4b3e303 100644
--- a/src/dex_instruction_visitor.h
+++ b/src/dex_instruction_visitor.h
@@ -41,7 +41,7 @@ class DexInstructionVisitor {
void Do_ ## cname(Instruction* inst) { \
T* derived = static_cast<T*>(this); \
derived->Do_Default(inst); \
- };
+ }
#include "dex_instruction_list.h"
DEX_INSTRUCTION_LIST(INSTRUCTION_VISITOR)
#undef DEX_INSTRUCTION_LIST
diff --git a/src/heap.h b/src/heap.h
index f8a5d235b3..6ce2db7432 100644
--- a/src/heap.h
+++ b/src/heap.h
@@ -52,11 +52,11 @@ class Heap {
static HeapBitmap* GetLiveBits() {
return live_bitmap_;
- };
+ }
static HeapBitmap* GetMarkBits() {
return mark_bitmap_;
- };
+ }
static size_t GetMaximumSize() {
return maximum_size_;