[PATCH] syntax-check: Don't check virsh.c for preprocessor indentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



With recent re-edit commits we have #define and #include not
indented as it ought to be from preprocessor POV. However, these
are part of a function, therefore they are indented well.
To solve this, skip preprocessor indentation check on virsh.c
---
 cfg.mk |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/cfg.mk b/cfg.mk
index 5d38137..0153024 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -830,3 +830,6 @@ exclude_file_name_regexp--sc_unmarked_diagnostics = \
   ^(docs/apibuild.py|tests/virt-aa-helper-test)$$
 
 exclude_file_name_regexp--sc_size_of_brackets = cfg.mk
+
+exclude_file_name_regexp--sc_preprocessor_indentation = \
+  ^tools/virsh.c$$
-- 
1.7.8.5

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]