[Spice-commits] server/tests

Frediano Ziglio fziglio at kemper.freedesktop.org
Wed Jan 25 15:42:28 UTC 2017


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

New commits:
commit 35177a6c41fe4bb726b0affa0d3230eab8f927ab
Author: Jeremy White <jwhite at codeweavers.com>
Date:   Mon Jan 16 11:17:36 2017 -0600

    Avoid a 'missing braces around initializer' warning.
    
    Static variables don't need initializers to be 0.
    
    Signed-off-by: Jeremy White <jwhite at codeweavers.com>
    Acked-by: Frediano Ziglio <fziglio at redhat.com>

diff --git a/server/tests/replay.c b/server/tests/replay.c
index 8ec65d6..9757e59 100644
--- a/server/tests/replay.c
+++ b/server/tests/replay.c
@@ -44,7 +44,7 @@ static SpiceServer *server;
 static SpiceReplay *replay;
 static QXLWorker *qxl_worker = NULL;
 static gboolean started = FALSE;
-static QXLInstance display_sin = { 0, };
+static QXLInstance display_sin;
 static gint slow = 0;
 static gint skip = 0;
 static gboolean print_count = FALSE;


More information about the Spice-commits mailing list