mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
clang: Null pointer passed as an argument to a 'nonnull' parameter
This commit is contained in:
parent
df64c0f932
commit
9ede170e7e
@ -737,7 +737,7 @@ open_line (
|
||||
p_extra = (char_u *)""; /* append empty line */
|
||||
|
||||
/* concatenate leader and p_extra, if there is a leader */
|
||||
if (lead_len) {
|
||||
if (lead_len > 0) {
|
||||
if (flags & OPENLINE_COM_LIST && second_line_indent > 0) {
|
||||
int i;
|
||||
int padding = second_line_indent
|
||||
|
Loading…
Reference in New Issue
Block a user