Fix release warning for unused bg_canceled

Summary: Pull Request resolved: https://github.com/facebook/rocksdb/pull/6357

Differential Revision: D19670931

Pulled By: maysamyabandeh

fbshipit-source-id: d528c4c7f9450f1f38b9d2a36e0d5d0865b39be9
This commit is contained in:
Maysam Yabandeh 2020-01-31 15:07:27 -08:00 committed by Facebook Github Bot
parent ec496347bc
commit 01ab882ba3
1 changed files with 1 additions and 0 deletions

View File

@ -2085,6 +2085,7 @@ void StressTest::Reopen(ThreadState* thread) {
bg_canceled = wait; bg_canceled = wait;
} }
assert(!write_prepared || bg_canceled); assert(!write_prepared || bg_canceled);
(void) bg_canceled;
#else #else
(void) thread; (void) thread;
#endif #endif