From 29287e832ee0797ceb61398592e1b1e7e3cab5be Mon Sep 17 00:00:00 2001 From: Vladislav Khorev Date: Thu, 27 Feb 2014 03:09:28 -0800 Subject: [PATCH] Update V8Context.cpp Fixing build fail when compiling with option [-Werror=return-type] thread_canceller::canceller method returning non-void, and does not have return statement. --- V8Context.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/V8Context.cpp b/V8Context.cpp index e685111..3e4c6ce 100644 --- a/V8Context.cpp +++ b/V8Context.cpp @@ -413,6 +413,7 @@ class thread_canceller { V8::TerminateExecution(me->isolate_); } pthread_mutex_unlock(&me->mutex_); + return NULL; } pthread_t id_;