From 8bfe628281a73708d35a6c6252c646c51b404484 Mon Sep 17 00:00:00 2001
From: José Bollo <jose.bollo@iot.bzh>
Date: Tue, 17 May 2016 10:32:46 +0200
Subject: avoid a warning
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Change-Id: I7a571d13670f689d8a872b2583a5ac06374d0b1a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
---
 src/afb-wsj1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/afb-wsj1.c b/src/afb-wsj1.c
index cf31a57a..df4a2344 100644
--- a/src/afb-wsj1.c
+++ b/src/afb-wsj1.c
@@ -242,7 +242,7 @@ static void wsj1_on_text(struct afb_wsj1 *wsj1, char *text, size_t size)
 	size_t items[10][2];
 	int n;
 	struct afb_wsj1_msg *msg;
-	struct wsj1_call *call;
+	struct wsj1_call *call = NULL;
 
 	/* allocate */
 	msg = calloc(1, sizeof *msg);
-- 
cgit