diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2015-03-03 09:07:25 +0100 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-06-07 08:51:46 -0400 |
| commit | c5e0075f8b0ed11c81333bbe6970ebc9479e3a70 (patch) | |
| tree | f67d18033cf3333d368e2dd9567e41928b232cd3 /lib/command.c | |
| parent | 1cc5e6822b05f6bf6a5b26b515ff78355d89fb07 (diff) | |
*: add/cleanup initialisers
There were some (inconsequential) warnings about uninitialised use of
variables. Also, in one case, sub-structs were mixed in initialisation,
which doesn't quite work as intended.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/command.c')
| -rw-r--r-- | lib/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command.c b/lib/command.c index 17e0f8d3b9..958d0eb244 100644 --- a/lib/command.c +++ b/lib/command.c @@ -1355,7 +1355,7 @@ cmd_matcher_match_multiple(struct cmd_matcher *matcher, enum match_type multiple_match; unsigned int multiple_index; const char *word; - const char *arg; + const char *arg = NULL; struct cmd_token *word_token; enum match_type word_match; |
