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

_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to