afm-launch: removes a fatal warning
authorJosé Bollo <jose.bollo@iot.bzh>
Thu, 4 Feb 2016 14:47:58 +0000 (15:47 +0100)
committerJosé Bollo <jose.bollo@iot.bzh>
Thu, 4 Feb 2016 14:47:58 +0000 (15:47 +0100)
Change-Id: I9f67b3f07c9df990bb05b335261213897aaa18cb
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/afm-launch.c

index 72120ac..c1c6fdd 100644 (file)
@@ -117,6 +117,7 @@ static char **instantiate_arguments(const char **args, struct afm_launch_desc *d
 
        /* loop that either compute the size and build the result */
        data = NULL;
+       result = NULL;
        n = s = 0;
        for (;;) {
                iter = args;