summaryrefslogtreecommitdiff
path: root/lib/command_match.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/command_match.c')
-rw-r--r--lib/command_match.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/command_match.c b/lib/command_match.c
index 99ec03e0c2..4893ead042 100644
--- a/lib/command_match.c
+++ b/lib/command_match.c
@@ -609,6 +609,7 @@ static struct list *disambiguate(struct list *first, struct list *second,
vector vline, unsigned int n)
{
// doesn't make sense for these to be inequal length
+ assert(first && second);
assert(first->count == second->count);
assert(first->count == vector_active(vline) - n + 1);