From 3de95a7b0a2d30cde6dc92b72c35df3a61002124 Mon Sep 17 00:00:00 2001 From: Narayan Kamath Date: Wed, 2 Apr 2014 12:54:23 +0100 Subject: Runtime::PreZygoteFork returns void, not boolean. This method aborts on failure (as it should) and unconditionally returns true, so making it return void simplifies callers. Change-Id: Iae39bd327f20311579ece47efa8afd1be7defce9 --- runtime/runtime.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'runtime/runtime.cc') diff --git a/runtime/runtime.cc b/runtime/runtime.cc index a830018..9d2cb96 100644 --- a/runtime/runtime.cc +++ b/runtime/runtime.cc @@ -269,9 +269,8 @@ void Runtime::Abort() { // notreached } -bool Runtime::PreZygoteFork() { +void Runtime::PreZygoteFork() { heap_->PreZygoteFork(); - return true; } void Runtime::CallExitHook(jint status) { -- cgit v1.1