mirror of
https://github.com/neovim/neovim.git
synced 2025-09-21 10:48:18 +00:00
Merge pull request #1129 from justinmk/clang
clang: Null pointer passed as an argument to a 'nonnull' parameter
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user