On Thu, Jun 01, 2017 at 07:36:48PM -0400, Sean McGovern wrote:
> --- a/libavutil/md5.c
> +++ b/libavutil/md5.c
> @@ -99,18 +99,14 @@ static const uint32_t T[64] = { // T[i]= 
> fabs(sin(i+1)<<32)
>  static void body(uint32_t ABCD[4], uint32_t X[16])
>  {
>      int t;
> -    int i av_unused;
>      unsigned int a = ABCD[3];
>      unsigned int b = ABCD[2];
>      unsigned int c = ABCD[1];
>      unsigned int d = ABCD[0];
>  
> -#if HAVE_BIGENDIAN
> -    for (i = 0; i < 16; i++)
> -        X[i] = av_bswap32(X[i]);
> -#endif
> -
>  #if CONFIG_SMALL
> +    int i av_unused;

av_unused was added to avoid unused variable warnings because the variable
is only used within the CONFIG_SMALL block. Now that you moved it there,
the attribute is no longer necessary.

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to