Commit a5dd31af authored by Lubomir Rintel's avatar Lubomir Rintel 🥕

contrib/checkpatch: allow empty lines within continuations

This chunk from nm-device.c is, in fact, okay:

               |<-tab->nm_assert (   !new_config
               |<-tab->           || (   new_config
               |<-tab->               && ({
               |<-tab->                    int ip_ifindex = ...
 empty line -> |
               |<-tab->                    (   ip_ifindex > 0
               |<-tab->                     && ip_ifindex == ...
               |<-tab->                  })));
parent da312e62
Pipeline #44811 failed with stages
in 86 minutes and 7 seconds
......@@ -206,7 +206,7 @@ if (defined $indent) {
or (defined $tabs_before_spaces and defined $this_tabs_before_spaces
and $this_tabs_before_spaces != $tabs_before_spaces);
}
$indent = $this_indent;
$indent = $this_indent if $_ ne '';
# Further on we process stuff without comments.
$_ = $line;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment