Michael Stefaniuc : dmstyle/tests: Avoid a clang warning.

Alexandre Julliard julliard at winehq.org
Tue Mar 6 16:48:50 CST 2018


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

Author: Michael Stefaniuc <mstefani at winehq.org>
Date:   Tue Mar  6 01:07:27 2018 +0100

dmstyle/tests: Avoid a clang warning.

Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dmstyle/tests/dmstyle.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/dmstyle/tests/dmstyle.c b/dlls/dmstyle/tests/dmstyle.c
index a9a89a7..ed12315 100644
--- a/dlls/dmstyle/tests/dmstyle.c
+++ b/dlls/dmstyle/tests/dmstyle.c
@@ -356,13 +356,13 @@ struct chunk {
    followed by the chunks of the list and terminated with 0. */
 static IStream *gen_riff_stream(const FOURCC *ids)
 {
+    static const LARGE_INTEGER zero;
     int level = -1;
     DWORD *sizes[4];    /* Stack for the sizes of RIFF and LIST chunks */
     char riff[1024];
     char *p = riff;
     struct chunk *ck;
     IStream *stream;
-    LARGE_INTEGER zero = {0};
 
     do {
         ck = (struct chunk *)p;




More information about the wine-cvs mailing list