Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
New upstream version 16.11.4
[deb_dpdk.git]
/
lib
/
librte_cmdline
/
cmdline_parse.c
diff --git
a/lib/librte_cmdline/cmdline_parse.c
b/lib/librte_cmdline/cmdline_parse.c
index
b496067
..
28a7933
100644
(file)
--- a/
lib/librte_cmdline/cmdline_parse.c
+++ b/
lib/librte_cmdline/cmdline_parse.c
@@
-149,7
+149,7
@@
match_inst(cmdline_parse_inst_t *inst, const char *buf,
unsigned int nb_match_token, void *resbuf, unsigned resbuf_size)
{
unsigned int token_num=0;
unsigned int nb_match_token, void *resbuf, unsigned resbuf_size)
{
unsigned int token_num=0;
- cmdline_parse_token_hdr_t *
token_p
;
+ cmdline_parse_token_hdr_t *
token_p = NULL
;
unsigned int i=0;
int n = 0;
struct cmdline_token_hdr token_hdr;
unsigned int i=0;
int n = 0;
struct cmdline_token_hdr token_hdr;