Fix some compiler warnings in testdisk.c

This commit is contained in:
Aaron Culliney 2015-12-16 21:11:35 -08:00
parent 3a20c96296
commit 785577e252

View File

@ -1436,12 +1436,16 @@ GREATEST_MAIN_DEFS();
static char **test_argv = NULL; static char **test_argv = NULL;
static int test_argc = 0; static int test_argc = 0;
static void *test_thread(void *dummyptr) { static int _test_thread(void) {
int argc = test_argc; int argc = test_argc;
char **argv = test_argv; char **argv = test_argv;
GREATEST_MAIN_BEGIN(); GREATEST_MAIN_BEGIN();
RUN_SUITE(test_suite_disk); RUN_SUITE(test_suite_disk);
GREATEST_MAIN_END(); GREATEST_MAIN_END();
}
static void *test_thread(void *dummyptr) {
_test_thread();
return NULL; return NULL;
} }