diff options
author | José Bollo <jose.bollo@iot.bzh> | 2016-05-17 10:32:46 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2016-05-17 10:32:46 +0200 |
commit | 8bfe628281a73708d35a6c6252c646c51b404484 (patch) | |
tree | dc749df7680008c544611c991adde8607612ea6a | |
parent | fdc92e334686a3cad282dd02792877f0c560f5d2 (diff) |
avoid a warning
Change-Id: I7a571d13670f689d8a872b2583a5ac06374d0b1a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r-- | src/afb-wsj1.c | 2 |
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); |