diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-01-13 16:55:14 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-01-13 16:55:14 +0100 |
commit | 712cf9d8f3623faa2219b53648ccb5c2a098b963 (patch) | |
tree | a3b991c72351adc9ae75802a0638e1ed1ea49344 | |
parent | 09d21f6f0bc3a02fa2cc245c52b41f300dd50027 (diff) | |
download | rneovim-712cf9d8f3623faa2219b53648ccb5c2a098b963.tar.gz rneovim-712cf9d8f3623faa2219b53648ccb5c2a098b963.tar.bz2 rneovim-712cf9d8f3623faa2219b53648ccb5c2a098b963.zip |
clang/"null passed to nonnull arg": cs_manage_matches
-rw-r--r-- | src/nvim/if_cscope.c | 2 |
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 |