aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-02 08:43:49 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-02 08:43:51 -0400
commit4f3396e128b0a1820fbb7f8e138def0322571244 (patch)
tree69802c718938fb1d58560fc39f26784181b434b9 /src
parent49706a1842de8ea07a22244dead32472d1bed768 (diff)
downloadrneovim-4f3396e128b0a1820fbb7f8e138def0322571244.tar.gz
rneovim-4f3396e128b0a1820fbb7f8e138def0322571244.tar.bz2
rneovim-4f3396e128b0a1820fbb7f8e138def0322571244.zip
clang/'Logic error': assert nonnull p_extra
Diffstat (limited to 'src')
-rw-r--r--src/nvim/screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c
index 760a54a316..5bf5a471c1 100644
--- a/src/nvim/screen.c
+++ b/src/nvim/screen.c
@@ -3154,6 +3154,7 @@ static int win_line(win_T *wp, linenr_T lnum, int startrow, int endrow,
mb_utf8 = false;
}
} else {
+ assert(p_extra != NULL);
c = *p_extra;
mb_c = c;
// If the UTF-8 character is more than one byte: