summaryrefslogtreecommitdiff
path: root/storage/innobase/fsp
diff options
context:
space:
mode:
authorEugene Kosov <claprix@yandex.ru>2021-06-15 13:09:15 +0300
committerEugene Kosov <claprix@yandex.ru>2021-06-15 13:10:16 +0300
commit1c35a3f6fd92704d7a135a81c7752f5058aaede5 (patch)
tree669442942fb28a036f2423029578a92508e3b0aa /storage/innobase/fsp
parent7d591cf85090db52478facca4a0c03a2a56aa585 (diff)
downloadmariadb-git-1c35a3f6fd92704d7a135a81c7752f5058aaede5.tar.gz
fix clang build
a new warning -Wunused-but-set-variable was introduced recently to clang
Diffstat (limited to 'storage/innobase/fsp')
-rw-r--r--storage/innobase/fsp/fsp0fsp.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/storage/innobase/fsp/fsp0fsp.cc b/storage/innobase/fsp/fsp0fsp.cc
index 58aa18ac323..cb5eff07f88 100644
--- a/storage/innobase/fsp/fsp0fsp.cc
+++ b/storage/innobase/fsp/fsp0fsp.cc
@@ -2719,7 +2719,6 @@ fsp_reserve_free_extents(
ulint n_free;
ulint n_free_up;
ulint reserve;
- size_t total_reserved = 0;
ut_ad(mtr);
*n_reserved = n_ext;
@@ -2801,7 +2800,6 @@ try_again:
}
try_to_extend:
if (ulint n = fsp_try_extend_data_file(space, space_header, mtr)) {
- total_reserved += n;
goto try_again;
}