Remove stray trailing semicolons.
Change-Id: I151191cc3ffdd9e8d5ea85496e435ee6f3716f56
diff --git a/src/class_linker.cc b/src/class_linker.cc
index 206a177..46562ca 100644
--- a/src/class_linker.cc
+++ b/src/class_linker.cc
@@ -732,7 +732,7 @@
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 f7fdf77..73b4b3e 100644
--- a/src/dex_instruction_visitor.h
+++ b/src/dex_instruction_visitor.h
@@ -41,7 +41,7 @@
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 f8a5d23..6ce2db7 100644
--- a/src/heap.h
+++ b/src/heap.h
@@ -52,11 +52,11 @@
static HeapBitmap* GetLiveBits() {
return live_bitmap_;
- };
+ }
static HeapBitmap* GetMarkBits() {
return mark_bitmap_;
- };
+ }
static size_t GetMaximumSize() {
return maximum_size_;