All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] Fix use of uninitialized variable
@ 2010-02-02 22:08 Gustavo F. Padovan
  2010-02-02 22:08 ` [PATCH 2/2] Remove dead assignments at gatchat Gustavo F. Padovan
  2010-02-02 22:33 ` [PATCH 1/2] Fix use of uninitialized variable Denis Kenzior
  0 siblings, 2 replies; 4+ messages in thread
From: Gustavo F. Padovan @ 2010-02-02 22:08 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 498 bytes --]

---
 gatchat/gatchat.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gatchat/gatchat.c b/gatchat/gatchat.c
index e25bfd6..5b0851b 100644
--- a/gatchat/gatchat.c
+++ b/gatchat/gatchat.c
@@ -692,7 +692,7 @@ static gboolean received_data(GIOChannel *channel, GIOCondition cond,
 	unsigned char *buf;
 	GAtChat *chat = data;
 	GIOError err;
-	gsize rbytes;
+	gsize rbytes = 0;
 	gsize toread;
 	gsize total_read = 0;
 	guint read_count = 0;
-- 
1.6.4.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-02-02 22:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-02 22:08 [PATCH 1/2] Fix use of uninitialized variable Gustavo F. Padovan
2010-02-02 22:08 ` [PATCH 2/2] Remove dead assignments at gatchat Gustavo F. Padovan
2010-02-02 22:32   ` Denis Kenzior
2010-02-02 22:33 ` [PATCH 1/2] Fix use of uninitialized variable Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.