Re: [PATCH] remove wrong statement terminator from preprocessor macro

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

 



Acked-by: Jonathon Jongsma <jjongsma@xxxxxxxxxx>


On Tue, 2016-01-26 at 16:36 +0000, Frediano Ziglio wrote:
> Actually not causing problems as when used is always followed by another
> terminator but better to fix the definition.
> 
> Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
> ---
>  common/lz_compress_tmpl.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/common/lz_compress_tmpl.c b/common/lz_compress_tmpl.c
> index b5d0049..3162a96 100644
> --- a/common/lz_compress_tmpl.c
> +++ b/common/lz_compress_tmpl.c
> @@ -44,7 +44,7 @@
>  #include <config.h>
>  #endif
>  
> -#define DJB2_START 5381;
> +#define DJB2_START 5381
>  #define DJB2_HASH(hash, c) (hash = ((hash << 5) + hash) ^ (c)) //|{hash =
> ((hash << 5) + hash) + c;}
>  
>  /*
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]