Static variables are initialized to 0 by default anyway.
Signed-off-by: Francois Gouget fgouget@free.fr ---
I don't really mind initializing them but with the current code not all of them are initialized : skipped is missing. The inconsistency makes this a bit confusing so I propose to standardize on using the fact that the compiler will automatically initialize those to 0.
include/wine/test.h | 1 - 1 file changed, 1 deletion(-)
diff --git a/include/wine/test.h b/include/wine/test.h index 9f308b4c4ab..827d1cba226 100644 --- a/include/wine/test.h +++ b/include/wine/test.h @@ -543,7 +543,6 @@ static int run_test( const char *name ) printf( "Fatal: test '%s' does not exist.\n", name ); exit_process(1); } - successes = failures = todo_successes = todo_failures = 0; tls_index=TlsAlloc(); current_test = test; test->func();