summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2021-06-16 07:50:04 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2021-06-16 07:50:04 +0300
commitc307dc6efde682c0768dc900818f4c0b418f9c6f (patch)
treea6c660615bd577d53ef6f1f266550d64c823f742
parent2edb8e12e10179b970007b3e1d5c465b9d0e110e (diff)
downloadmariadb-git-c307dc6efde682c0768dc900818f4c0b418f9c6f.tar.gz
Remove a unused variable
In commit 1c35a3f6fd92704d7a135a81c7752f5058aaede5 a useless computation that used the variable was removed.
-rw-r--r--storage/innobase/fsp/fsp0fsp.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/innobase/fsp/fsp0fsp.cc b/storage/innobase/fsp/fsp0fsp.cc
index cb5eff07f88..43989d57db8 100644
--- a/storage/innobase/fsp/fsp0fsp.cc
+++ b/storage/innobase/fsp/fsp0fsp.cc
@@ -1,7 +1,7 @@
/*****************************************************************************
Copyright (c) 1995, 2016, Oracle and/or its affiliates. All Rights Reserved.
-Copyright (c) 2017, 2020, MariaDB Corporation.
+Copyright (c) 2017, 2021, MariaDB Corporation.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -2799,7 +2799,7 @@ try_again:
return(true);
}
try_to_extend:
- if (ulint n = fsp_try_extend_data_file(space, space_header, mtr)) {
+ if (fsp_try_extend_data_file(space, space_header, mtr)) {
goto try_again;
}