1
0
Fork 0
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:
Geoff Garside 2012-05-12 16:52:19 +01:00
parent dcfa3ba14d
commit 390d0600d3

View 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_); }