Merge pull request #1129 from justinmk/clang

clang: Null pointer passed as an argument to a 'nonnull' parameter
This commit is contained in:
Justin M. Keyes 2014-09-16 19:01:37 -04:00
commit 8d6540f876

View File

@ -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