From 01ab882ba37c545444d9c8c7ccef6444c71d5928 Mon Sep 17 00:00:00 2001 From: Maysam Yabandeh Date: Fri, 31 Jan 2020 15:07:27 -0800 Subject: [PATCH] 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 --- db_stress_tool/db_stress_test_base.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/db_stress_tool/db_stress_test_base.cc b/db_stress_tool/db_stress_test_base.cc index 925bb640ee..f335d52024 100644 --- a/db_stress_tool/db_stress_test_base.cc +++ b/db_stress_tool/db_stress_test_base.cc @@ -2085,6 +2085,7 @@ void StressTest::Reopen(ThreadState* thread) { bg_canceled = wait; } assert(!write_prepared || bg_canceled); + (void) bg_canceled; #else (void) thread; #endif