diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2018-09-08 20:16:59 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2018-09-08 20:34:35 +0200 |
commit | 4f4060f6abbfa004e0eb63b7c447776cc74c8d66 (patch) | |
tree | db67b768f3c17767dc6aff86e17da01590b26df8 /lib/command.c | |
parent | lib: fix SA warning in skiplist code (diff) | |
download | frr-4f4060f6abbfa004e0eb63b7c447776cc74c8d66.tar.xz frr-4f4060f6abbfa004e0eb63b7c447776cc74c8d66.zip |
*: fix clang-6 SA warnings
I don't see these in CI, but my local clang-6 does emit warnings for
these.
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/command.c')
-rw-r--r-- | lib/command.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/command.c b/lib/command.c index 1df644210..3cc6806a8 100644 --- a/lib/command.c +++ b/lib/command.c @@ -1197,6 +1197,7 @@ static int handle_pipe_action(struct vty *vty, const char *cmd_in, /* retrieve action */ token = strsep(&working, " "); + assert(token); /* match result to known actions */ if (strmatch(token, "include")) { |