mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-04 10:40:58 +01:00
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-> })));
This commit is contained in:
parent
da312e6220
commit
a5dd31afeb
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue