diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2015-03-03 09:07:25 +0100 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2015-04-21 10:18:01 +0200 |
commit | ab90fc04a57b7b1d93ccddb8c9fbbf339a7ffc4c (patch) | |
tree | 7c75add9b86f59da16d636e963402494dfbf6ecd /lib/command.c | |
parent | 388f8857eb81ef75014060976776523a58a99389 (diff) | |
download | quagga-ab90fc04a57b7b1d93ccddb8c9fbbf339a7ffc4c.tar.bz2 quagga-ab90fc04a57b7b1d93ccddb8c9fbbf339a7ffc4c.tar.xz |
*: 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 83177895..f20065f1 100644 --- a/lib/command.c +++ b/lib/command.c @@ -1353,7 +1353,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; |