mirror of
https://github.com/rubyjs/libv8
synced 2023-03-27 23:21:48 -04:00
Add patch for vendor/v8/src/platform-freebsd.cc.
Fixes a unused-but-set-variable error. Further information available at http://code.google.com/p/v8/issues/detail?id=2126
This commit is contained in:
parent
dcfa3ba14d
commit
390d0600d3
1 changed files with 10 additions and 0 deletions
10
patches/src_platform-freebsd.cc.patch
Normal file
10
patches/src_platform-freebsd.cc.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- src/platform-freebsd.cc.orig 2012-05-12 16:47:50.556202492 +0100
|
||||
+++ src/platform-freebsd.cc 2012-05-12 16:37:59.924934272 +0100
|
||||
@@ -554,6 +554,7 @@
|
||||
ASSERT(result == 0);
|
||||
result = pthread_mutex_init(&mutex_, &attrs);
|
||||
ASSERT(result == 0);
|
||||
+ USE(result);
|
||||
}
|
||||
|
||||
virtual ~FreeBSDMutex() { pthread_mutex_destroy(&mutex_); }
|
Loading…
Reference in a new issue