summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Carl Shapiro <cshapiro@google.com> 2011-08-06 15:53:36 -0700
committer Carl Shapiro <cshapiro@google.com> 2011-08-06 15:53:36 -0700
commit744ad05e473be49033d38f30aab63891ca4ee5c3 (patch)
tree6c14472de037544af316af24b24a37851bbced7d
parentf88c95285b2d105a504d18736fe477f74c8c5b45 (diff)
Remove stray trailing semicolons.
Change-Id: I151191cc3ffdd9e8d5ea85496e435ee6f3716f56
-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_;