mirror of
https://github.com/neovim/neovim.git
synced 2025-09-22 11:18:19 +00:00
clang/'Logic error': assert nonnull p_extra
This commit is contained in:
@@ -3154,6 +3154,7 @@ static int win_line(win_T *wp, linenr_T lnum, int startrow, int endrow,
|
|||||||
mb_utf8 = false;
|
mb_utf8 = false;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
assert(p_extra != NULL);
|
||||||
c = *p_extra;
|
c = *p_extra;
|
||||||
mb_c = c;
|
mb_c = c;
|
||||||
// If the UTF-8 character is more than one byte:
|
// If the UTF-8 character is more than one byte:
|
||||||
|
Reference in New Issue
Block a user