Commit b8b3bcfa authored by Yoni Fogel's avatar Yoni Fogel

refs #4964 fix compiler warnings

git-svn-id: file:///svn/toku/tokudb@45069 c7de825b-a66e-492c-adef-691d508d4ae1
parent d0527da2
...@@ -425,6 +425,9 @@ env_del_multiple( ...@@ -425,6 +425,9 @@ env_del_multiple(
HANDLE_PANICKED_ENV(env); HANDLE_PANICKED_ENV(env);
uint32_t lock_flags[num_dbs];
uint32_t remaining_flags[num_dbs];
FT_HANDLE brts[num_dbs];
if (!txn) { if (!txn) {
r = EINVAL; r = EINVAL;
goto cleanup; goto cleanup;
...@@ -440,9 +443,6 @@ env_del_multiple( ...@@ -440,9 +443,6 @@ env_del_multiple(
goto cleanup; goto cleanup;
} }
uint32_t lock_flags[num_dbs];
uint32_t remaining_flags[num_dbs];
FT_HANDLE brts[num_dbs];
for (uint32_t which_db = 0; which_db < num_dbs; which_db++) { for (uint32_t which_db = 0; which_db < num_dbs; which_db++) {
DB *db = db_array[which_db]; DB *db = db_array[which_db];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment