[glib] Fix compilation warning: Initialize the variable
- From: Javier Jardón <jjardon src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [glib] Fix compilation warning: Initialize the variable
- Date: Tue, 17 Nov 2009 19:44:46 +0000 (UTC)
commit ba0a6e1911ee581f1d651a7a05bab789c760ef3c
Author: Javier Jardón <jjardon gnome org>
Date: Mon Nov 16 00:29:39 2009 +0100
Fix compilation warning: Initialize the variable
gio/tests/unix-streams.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/tests/unix-streams.c b/gio/tests/unix-streams.c
index 07c7b9f..50b2d8c 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)];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]