summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-09-08 21:04:54 -0400
committerGitHub <noreply@github.com>2018-09-08 21:04:54 -0400
commit4bb7d4482d7b22fea694d7b387c2090fdc32ce83 (patch)
tree7e1a052104bf9d5e8756281c601e0450fad2f5ed /lib/command.c
parent714e135429aaca467bd2ed654edfe977b5cd1a9c (diff)
parente10cfdaf51fd5662309eda11ff37dfac1d94abdf (diff)
Merge pull request #2994 from opensourcerouting/sa-warnings
fix remaining SA warnings
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/command.c b/lib/command.c
index dd259472b8..26afc762fb 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -1198,6 +1198,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")) {