mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-14 20:18:39 +00:00
checkpatch: complain about tabs in source file
There are very few places left where we would accept tabs in a source file. Warn about that, even if it might cause some false positives. I think this line was commented out due to a mistake.
This commit is contained in:
parent
866e3a2b51
commit
2b449694e5
|
@ -198,7 +198,7 @@ complain ("Don't use API that uses the numeric source id. Instead, use GSource a
|
|||
complain ("Prefer g_snprintf() over snprintf() (for consistency)") if $line =~ /\b(snprintf)\b/;
|
||||
complain ("Avoid g_clear_pointer() and use nm_clear_pointer() (or nm_clear_g_free(), g_clear_object(), etc.)") if $line =~ /\b(g_clear_pointer)\b/;
|
||||
complain ("Define setting properties with _nm_setting_property_define_direct_*() API") if $line =~ /g_param_spec_/ and $filename =~ /\/libnm-core-impl\/nm-setting/;
|
||||
#complain ("Use spaces instead of tabs") if $line =~ /\t/;
|
||||
complain ("Use spaces instead of tabs") if $line =~ /\t/;
|
||||
|
||||
# Further on we process stuff without comments.
|
||||
$_ = $line;
|
||||
|
|
Loading…
Reference in a new issue