Due to the use of static inline functions, the headers uses G_GNUC_UNUSED, which the sc_avoid_attribute_unused_in_header test complains about. --- cfg.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cfg.mk b/cfg.mk index 8809df0..3e5d345 100644 --- a/cfg.mk +++ b/cfg.mk @@ -145,3 +145,5 @@ exclude_file_name_regexp--sc_unmarked_diagnostics = ^.*\.(c|py|h) exclude_file_name_regexp--sc_prohibit_path_max_allocation = server/tests/test_display_base.c exclude_file_name_regexp--sc_cast_of_argument_to_free = server/red-replay-qxl.c + +exclude_file_name_regexp--sc_avoid_attribute_unused_in_header = server/stat.h -- 2.9.3 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel