summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
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")) {