aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-01-13 17:02:37 +0100
committerJustin M. Keyes <justinkz@gmail.com>2019-01-13 17:02:37 +0100
commitfb7c48f2f3208b756b723e921b68e4a7bfa8f9f1 (patch)
treef84d592f3c0e274728fb83a124d6bb2550e78700 /src
parent712cf9d8f3623faa2219b53648ccb5c2a098b963 (diff)
downloadrneovim-fb7c48f2f3208b756b723e921b68e4a7bfa8f9f1.tar.gz
rneovim-fb7c48f2f3208b756b723e921b68e4a7bfa8f9f1.tar.bz2
rneovim-fb7c48f2f3208b756b723e921b68e4a7bfa8f9f1.zip
clang/"null passed to nonnull arg": ex_history
Diffstat (limited to 'src')
-rw-r--r--src/nvim/ex_getln.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c
index 4ea25117d9..8be8d757c8 100644
--- a/src/nvim/ex_getln.c
+++ b/src/nvim/ex_getln.c
@@ -5933,6 +5933,7 @@ void ex_history(exarg_T *eap)
for (; !got_int && histype1 <= histype2; ++histype1) {
STRCPY(IObuff, "\n # ");
+ assert(history_names[histype1] != NULL);
STRCAT(STRCAT(IObuff, history_names[histype1]), " history");
MSG_PUTS_TITLE(IObuff);
idx = hisidx[histype1];