Commit 1306d8d4 authored by Yoni Fogel's avatar Yoni Fogel

Valgrind reported branches based on uninitialised variables.

Fixed test_00010_parameter_errors.c

git-svn-id: file:///svn/tokudb@2360 c7de825b-a66e-492c-adef-691d508d4ae1
parent 69d3f926
...@@ -103,7 +103,7 @@ int main(int argc, const char *argv[]) { ...@@ -103,7 +103,7 @@ int main(int argc, const char *argv[]) {
r = toku_rt_close(tree); CKERR(r); r = toku_rt_close(tree); CKERR(r);
/* Predecessor tests */ /* Predecessor tests */
toku_point* foo; toku_point* foo = (toku_point*)&stuff[0];
BOOL wasfound; BOOL wasfound;
r = toku_rt_create(&tree, int_cmp, ptr_cmp, FALSE, malloc, free, realloc); r = toku_rt_create(&tree, int_cmp, ptr_cmp, FALSE, malloc, free, realloc);
CKERR(r); CKERR(r);
......
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