mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
Removed warnings.
git-svn-id: file:///svn/tokudb@2762 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
7299745f97
commit
ee2351986d
1 changed files with 1 additions and 1 deletions
|
@ -1097,7 +1097,7 @@ int toku_pma_split(TOKULOGGER logger, FILENUM filenum,
|
|||
n = spliti;
|
||||
// Since the new array is smaller than the old one, during recovery we need to do the resize after moving the elements.
|
||||
// But we must actually do the resize first here so we can determine the size.
|
||||
unsigned int oldn_for_logging, newn_for_logging;
|
||||
unsigned int oldn_for_logging = 0, newn_for_logging = 0;
|
||||
error = pma_resize_array_nolog(pma, n + n/4, 0, // zeros the elements
|
||||
&oldn_for_logging, &newn_for_logging);
|
||||
assert(error == 0);
|
||||
|
|
Loading…
Add table
Reference in a new issue