diff options
author | Renato Westphal <renato@opensourcerouting.org> | 2017-10-06 22:50:19 +0200 |
---|---|---|
committer | Renato Westphal <renato@opensourcerouting.org> | 2017-10-06 22:50:19 +0200 |
commit | 11bf8e13f2034634601ba1fb43114164e71c71fe (patch) | |
tree | 91a7324c8d3a96c2a10254f6f91ac99b50b43d2f /ldpd/ldpd.c | |
parent | Merge pull request #1295 from donaldsharp/more_1270 (diff) | |
download | frr-11bf8e13f2034634601ba1fb43114164e71c71fe.tar.xz frr-11bf8e13f2034634601ba1fb43114164e71c71fe.zip |
ldpd: sprinkle in some asserts to make scan-build happy
While here, fix the other SA warnings.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'ldpd/ldpd.c')
-rw-r--r-- | ldpd/ldpd.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ldpd/ldpd.c b/ldpd/ldpd.c index 843d160d6..12aeb1fff 100644 --- a/ldpd/ldpd.c +++ b/ldpd/ldpd.c @@ -260,7 +260,6 @@ main(int argc, char *argv[]) sizeof(init.zclient_serv_path)); argc -= optind; - argv += optind; if (argc > 0 || (lflag && eflag)) frr_help_exit(1); |