aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nvim/if_cscope.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/if_cscope.c b/src/nvim/if_cscope.c
index ab33cf7863..625d6baa17 100644
--- a/src/nvim/if_cscope.c
+++ b/src/nvim/if_cscope.c
@@ -1371,6 +1371,8 @@ static char *cs_manage_matches(char **matches, char **contexts,
next = 0;
break;
case Print:
+ assert(mp != NULL);
+ assert(cp != NULL);
cs_print_tags_priv(mp, cp, cnt);
break;
default: // should not reach here