mirror of https://github.com/facebook/rocksdb.git
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:
parent
ec496347bc
commit
01ab882ba3
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue