diff options
| author | Daniel Walton <dwalton@cumulusnetworks.com> | 2016-09-29 17:48:57 +0000 | 
|---|---|---|
| committer | Daniel Walton <dwalton@cumulusnetworks.com> | 2016-09-29 17:48:57 +0000 | 
| commit | 67656e9b65ab7c6bb979be72b4917cfd4a2241b6 (patch) | |
| tree | 823937fe0aded2bcfad54dfdea570259bd4820ac /lib/distribute.c | |
| parent | ff788d089ac145ac06b99018811f46a9f6b69dda (diff) | |
all: added CHECK ME for DEFUNs that look at argc
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Diffstat (limited to 'lib/distribute.c')
| -rw-r--r-- | lib/distribute.c | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/distribute.c b/lib/distribute.c index 8a00833915..e0b4f0468a 100644 --- a/lib/distribute.c +++ b/lib/distribute.c @@ -308,6 +308,7 @@ DEFUN (distribute_list,         "Filter outgoing routing updates\n"         "Interface name\n")  { +  /* CHECK ME argc referenced below */    int prefix = (argv[1]->type == WORD_TKN) ? 1 : 0;    /* Check of distribute list type. */ @@ -339,6 +340,7 @@ DEFUN (no_distribute_list,         "Filter outgoing routing updates\n"         "Interface name\n")  { +  /* CHECK ME argc referenced below */    int prefix = (argv[2]->type == WORD_TKN) ? 1 : 0;    /* Check of distribute list type. */  | 
