[glib] remove broken useless initialization in socket-client/socket-server
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] remove broken useless initialization in socket-client/socket-server
- Date: Fri, 7 May 2010 23:09:40 +0000 (UTC)
commit af263a3a10ff9f3ae41d30e8cb9753b8b9f1ad43
Author: Dan Winship <danw gnome org>
Date: Fri May 7 19:08:13 2010 -0400
remove broken useless initialization in socket-client/socket-server
https://bugzilla.gnome.org/show_bug.cgi?id=618051
gio/tests/socket-client.c | 2 +-
gio/tests/socket-server.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/tests/socket-client.c b/gio/tests/socket-client.c
index 9adcf32..1f1455e 100644
--- a/gio/tests/socket-client.c
+++ b/gio/tests/socket-client.c
@@ -223,7 +223,7 @@ main (int argc,
while (TRUE)
{
- gchar buffer[4096] = { };
+ gchar buffer[4096];
gssize size;
gsize to_send;
diff --git a/gio/tests/socket-server.c b/gio/tests/socket-server.c
index aeb1812..562f1ef 100644
--- a/gio/tests/socket-server.c
+++ b/gio/tests/socket-server.c
@@ -243,7 +243,7 @@ main (int argc,
while (TRUE)
{
- gchar buffer[4096] = { };
+ gchar buffer[4096];
gssize size;
gsize to_send;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]