Francois Gouget : tests: Don't initialize static variables to 0.

Alexandre Julliard julliard at winehq.org
Mon Feb 3 15:06:05 CST 2020


Module: wine
Branch: master
Commit: f818bbf61a6a8a39b8d34a6eafa13b075abe41cd
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=f818bbf61a6a8a39b8d34a6eafa13b075abe41cd

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon Feb  3 02:04:05 2020 +0100

tests: Don't initialize static variables to 0.

Static variables are initialized to 0 by default anyway.

Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 include/wine/test.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/wine/test.h b/include/wine/test.h
index a919ce81d6..5c3b432a9a 100644
--- a/include/wine/test.h
+++ b/include/wine/test.h
@@ -498,7 +498,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();




More information about the wine-cvs mailing list