From f88c95285b2d105a504d18736fe477f74c8c5b45 Mon Sep 17 00:00:00 2001 From: Carl Shapiro Date: Sat, 6 Aug 2011 15:47:38 -0700 Subject: Minor clean-ups. Standardize on DISALLOW_IMPLICIT_CONSTRUCTORS to avoid assignments and construction of mirror objects. Normalize some whitespace usage and wrap a long line. Remove the obsolete and commented out class Size method. Change-Id: I60b1929087e9be1d84d4ecae20988dce90a7f8be --- src/class_linker.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/class_linker.cc') diff --git a/src/class_linker.cc b/src/class_linker.cc index 89c96b4fe8..206a1773d4 100644 --- a/src/class_linker.cc +++ b/src/class_linker.cc @@ -150,8 +150,6 @@ void ClassLinker::Init(const std::vector& boot_class_path) { // supers as well. These interfaces don't have any methods, so we // don't have to worry about the ifviPool either. array_iftable_ = new InterfaceEntry[2]; - CHECK(array_iftable_ != NULL); - memset(array_iftable_, 0, sizeof(InterfaceEntry) * 2); array_iftable_[0].SetClass(array_interfaces_->Get(0)); array_iftable_[1].SetClass(array_interfaces_->Get(1)); // now FindClass can be used for non-primitive array classes -- cgit v1.2.3-59-g8ed1b