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

Re: [Xen-devel] [PATCH 2/1] toos/xenstat: Fix -Wunused-function issue



On Tue, Aug 13, 2019 at 03:21:28PM +0100, Andrew Cooper wrote:
> When compiling xenstat with -Werror, Clang complains:
> 
>   src/xenstat.c:134:34: error: unused function 'parse' 
> [-Werror,-Wunused-function]
>   static inline unsigned long long parse(char *s, char *match)
>                                    ^
>   1 error generated.
> 
> Drop the function.  It really is unused.
> 
> Spotted by Travis-CI.
> 
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

Acked-by: Wei Liu <wl@xxxxxxx>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.