Skip to content

Commit

Permalink
fix nodiscard
Browse files Browse the repository at this point in the history
  • Loading branch information
bobhan1 committed Oct 16, 2023
1 parent 2fa720c commit 9819787
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions be/src/olap/check_primary_keys_executor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ Status CheckPrimaryKeysToken::wait() {
}

void CheckPrimaryKeysExecutor::init() {
ThreadPoolBuilder("TabletCheckPrimaryKeysThreadPool")
.set_min_threads(1)
.set_max_threads(config::check_primary_keys_max_thread)
.build(&_thread_pool);
static_cast<void>(ThreadPoolBuilder("TabletCheckPrimaryKeysThreadPool")
.set_min_threads(1)
.set_max_threads(config::check_primary_keys_max_thread)
.build(&_thread_pool));
}

std::unique_ptr<CheckPrimaryKeysToken> CheckPrimaryKeysExecutor::create_token() {
Expand Down

0 comments on commit 9819787

Please sign in to comment.