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