[Spice-devel] [spice-server 5/9] syntax-check: Add exception for server/stat.h

Christophe Fergeau cfergeau at redhat.com
Wed Nov 9 15:10:59 UTC 2016


Hey, only this patch from the series was not reviewed, anyone up for it?

Christophe

On Thu, Oct 27, 2016 at 04:12:13PM +0200, Christophe Fergeau wrote:
> 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 at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20161109/869de20e/attachment.sig>


More information about the Spice-devel mailing list