Skip to content

Commit

Permalink
fix compile warning
Browse files Browse the repository at this point in the history
monitoring/thread_status_util.cc: In static member function ‘static void rocksdb::ThreadStatusUtil::NewColumnFamilyInfo(const rocksdb::DB*, const rocksdb::ColumnFamilyData*, const std::string&, const rocksdb::Env*)’:
monitoring/thread_status_util.cc:193:55: warning: unused parameter ‘env’ [-Wunused-parameter]
  193 |                                            const Env* env) {}
      |                                            ~~~~~~~~~~~^~~
  • Loading branch information
jsteemann committed Mar 1, 2024
1 parent 4aed229 commit 3b099ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monitoring/thread_status_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ void ThreadStatusUtil::SetThreadState(ThreadStatus::StateType /*state*/) {}
void ThreadStatusUtil::NewColumnFamilyInfo(const DB* /*db*/,
const ColumnFamilyData* /*cfd*/,
const std::string& /*cf_name*/,
const Env* env) {}
const Env* /*env*/) {}

void ThreadStatusUtil::EraseColumnFamilyInfo(const ColumnFamilyData* /*cfd*/) {}

Expand Down

0 comments on commit 3b099ff

Please sign in to comment.