lib: fix various compilation warnings
[dpdk.git] / examples / multi_process / simple_mp / mp_commands.c
index a833609..1469991 100644 (file)
@@ -1,7 +1,7 @@
 /*-
  *   BSD LICENSE
  * 
- *   Copyright(c) 2010-2012 Intel Corporation. All rights reserved.
+ *   Copyright(c) 2010-2013 Intel Corporation. All rights reserved.
  *   All rights reserved.
  * 
  *   Redistribution and use in source and binary forms, with or without 
@@ -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)