kvargs: fix build with gcc 4.5.1
authorMin Cao <min.cao@intel.com>
Mon, 16 Jun 2014 03:22:11 +0000 (11:22 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 17 Jun 2014 17:01:59 +0000 (19:01 +0200)
commit1122f06c42a6b1e43a965f3d2a3e793a0eba4f4d
tree05bf9bc81ddf88781ae2a9492406a914d280e9c7
parent00685b0fe2a34ae15cd1e305ec2c3ae075ed2ea8
kvargs: fix build with gcc 4.5.1

GCC 4.5.1 warns about an uninitialized pointer:
error: 'ctx1' may be used uninitialized in this function

Signed-off-by: Min Cao <min.cao@intel.com>
Acked-by: Jijiang Liu <jijiang.liu@intel.com>
Tested-by: Waterman Cao <waterman.cao@intel.com>
lib/librte_kvargs/rte_kvargs.c