]> git.droids-corp.org - dpdk.git/blobdiff - examples/multi_process/simple_mp/mp_commands.c
lib: fix various compilation warnings
[dpdk.git] / examples / multi_process / simple_mp / mp_commands.c
index 45f2795272e53bdb34c43d9047bcf644cd7eadbb..146999187964a74474946b8605b3142c082799e5 100644 (file)
@@ -75,7 +75,7 @@ static void cmd_send_parsed(void *parsed_result,
                __attribute__((unused)) struct cmdline *cl,
                __attribute__((unused)) void *data)
 {
-       void *msg;
+       void *msg = NULL;
        struct cmd_send_result *res = parsed_result;
 
        if (rte_mempool_get(message_pool, &msg) < 0)