fix for non-fbcode linux

This commit is contained in:
Andrew Kryczka 2018-03-02 13:55:09 -08:00
parent 7f92556ad7
commit ce58659f58

View file

@ -35,7 +35,8 @@ static int PthreadCall(const char* label, int result) {
return result;
}
Mutex::Mutex(bool /*adaptive*/) {
Mutex::Mutex(bool adaptive) {
(void) adaptive;
#ifdef ROCKSDB_PTHREAD_ADAPTIVE_MUTEX
if (!adaptive) {
PthreadCall("init mutex", pthread_mutex_init(&mu_, nullptr));