[Spice-devel] [spice-server 5/9] syntax-check: Add exception for server/stat.h
Frediano Ziglio
fziglio at redhat.com
Wed Nov 9 15:37:30 UTC 2016
>
> 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
Acked-by: Frediano Ziglio <fziglio at redhat.com>
Frediano
More information about the Spice-devel
mailing list