avoid a warning
[src/app-framework-binder.git] / src / afb-wsj1.c
index 7d4730e..df4a234 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2016 IoT.bzh
+ * Copyright (C) 2016 "IoT.bzh"
  * Author: José Bollo <jose.bollo@iot.bzh>
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -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);