Static variables don't need initializers to be 0.

Signed-off-by: Jeremy White <[email protected]>
---
v2: Simply remove the initializer; the whole structure, if static, should be 
zero.
---
 server/tests/replay.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
-- 
2.1.4

_______________________________________________
Spice-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to