From ba0a6e1911ee581f1d651a7a05bab789c760ef3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Mon, 16 Nov 2009 00:29:39 +0100 Subject: [PATCH] Fix compilation warning: Initialize the variable --- gio/tests/unix-streams.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/tests/unix-streams.c b/gio/tests/unix-streams.c index 07c7b9f82..50b2d8cfc 100644 --- a/gio/tests/unix-streams.c +++ b/gio/tests/unix-streams.c @@ -77,7 +77,7 @@ static gpointer reader_thread (gpointer user_data) { GInputStream *in; - gssize nread, total; + gssize nread = 0, total; GError *err = NULL; char buf[sizeof (DATA)];