From 56c4a9c7607ef6b21ef334c0446bec0c99ee0c7a Mon Sep 17 00:00:00 2001 From: Yueh-Hsuan Chiang Date: Fri, 13 Mar 2015 18:09:01 -0700 Subject: [PATCH] Fix compile warning in thread_status_util.h on Mac Summary: Fix compile warning in thread_status_util.h on Mac Test Plan: make dbg -j32 --- util/thread_status_util.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/thread_status_util.h b/util/thread_status_util.h index 769144e61..1bfc80ba2 100644 --- a/util/thread_status_util.h +++ b/util/thread_status_util.h @@ -116,8 +116,10 @@ class AutoThreadOperationStageUpdater { ThreadStatus::OperationStage stage); ~AutoThreadOperationStageUpdater(); +#if ROCKSDB_USING_THREAD_STATUS private: ThreadStatus::OperationStage prev_stage_; +#endif }; } // namespace rocksdb