diff --git a/newbrt/tests/log-test7.c b/newbrt/tests/log-test7.c index 0179348071f..9a2a6344326 100644 --- a/newbrt/tests/log-test7.c +++ b/newbrt/tests/log-test7.c @@ -68,7 +68,6 @@ void tear_down_logger(int which) { int test_main (int argc __attribute__((__unused__)), const char *argv[] __attribute__((__unused__))) { - int r; int i; int loop; const int numloops = 100; diff --git a/newbrt/tests/test-inc-split.c b/newbrt/tests/test-inc-split.c index 5fa5700f6e1..c196289e16c 100644 --- a/newbrt/tests/test-inc-split.c +++ b/newbrt/tests/test-inc-split.c @@ -139,17 +139,18 @@ doit (int ksize __attribute__((__unused__))) { int test_main (int argc __attribute__((__unused__)), const char *argv[] __attribute__((__unused__))) { - int i; doit(53); - toku_malloc_cleanup(); - return 0; - //Skip remaining tests. #if 0 + //Skip remaining tests. +{ + int i; + for (i=1; i