Commit 70232af2 authored by Yoni Fogel's avatar Yoni Fogel

Removed warnings.

git-svn-id: file:///svn/tokudb@2762 c7de825b-a66e-492c-adef-691d508d4ae1
parent 94afdf2a
...@@ -1097,7 +1097,7 @@ int toku_pma_split(TOKULOGGER logger, FILENUM filenum, ...@@ -1097,7 +1097,7 @@ int toku_pma_split(TOKULOGGER logger, FILENUM filenum,
n = spliti; n = spliti;
// Since the new array is smaller than the old one, during recovery we need to do the resize after moving the elements. // 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. // 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 error = pma_resize_array_nolog(pma, n + n/4, 0, // zeros the elements
&oldn_for_logging, &newn_for_logging); &oldn_for_logging, &newn_for_logging);
assert(error == 0); assert(error == 0);
......
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