Removed warnings.

git-svn-id: file:///svn/tokudb@2762 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Yoni Fogel 2008-03-12 17:48:54 +00:00
parent 7299745f97
commit ee2351986d

View file

@ -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);