aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-05-17 10:32:46 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2016-05-17 10:32:46 +0200
commit8bfe628281a73708d35a6c6252c646c51b404484 (patch)
treedc749df7680008c544611c991adde8607612ea6a
parentfdc92e334686a3cad282dd02792877f0c560f5d2 (diff)
avoid a warning
Change-Id: I7a571d13670f689d8a872b2583a5ac06374d0b1a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r--src/afb-wsj1.c2
1 files changed, 1 insertions, 1 deletions
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);