From: yangguo@chromium.org Date: Tue, 15 May 2012 09:21:49 +0000 (+0000) Subject: Fix freebsd build. X-Git-Tag: upstream/4.7.83~16714 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ea7c5a23a36836b047aa6b05f1a745d4ce7b3a61;p=platform%2Fupstream%2Fv8.git Fix freebsd build. BUG=2126 TEST= Review URL: https://chromiumcodereview.appspot.com/10381149 Patch from Geoffrey Garside . git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11561 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/platform-freebsd.cc b/src/platform-freebsd.cc index 4a6845e..511759c 100644 --- a/src/platform-freebsd.cc +++ b/src/platform-freebsd.cc @@ -554,6 +554,7 @@ class FreeBSDMutex : public Mutex { ASSERT(result == 0); result = pthread_mutex_init(&mutex_, &attrs); ASSERT(result == 0); + USE(result); } virtual ~FreeBSDMutex() { pthread_mutex_destroy(&mutex_); }