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/if.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/if.c')
| -rw-r--r-- | lib/if.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -677,6 +677,7 @@ DEFUN (interface_desc, "Interface specific description\n" "Characters describing this interface\n") { + /* CHECK ME argc referenced below */ struct interface *ifp; if (argc == 1) @@ -755,6 +756,7 @@ DEFUN (interface, "Interface's name\n" VRF_CMD_HELP_STR) { + /* CHECK ME argc referenced below */ int idx_ifname = 1; const char *ifname = argv[idx_ifname]->arg; const char *vrfname = (argc > 2) ? argv[3]->arg : NULL; @@ -899,6 +901,7 @@ DEFUN (show_address, "address\n" VRF_CMD_HELP_STR) { + /* CHECK ME argc referenced below */ int idx_vrf_cmd_str = 2; struct listnode *node; struct listnode *node2; |
