Re: [PATCH] avoid clang warning about dead store to "size"

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

 



On Mon, May 23, 2011 at 08:31:43AM +0000, Jim Meyering wrote:
> I ran clang's scan-build on dash and it reported one nit:
> 
> ANALYZE: memalloc.c makestrspace
> memalloc.c:276:9: warning: Value stored to 'size' during its initialization is never read
>         size_t size = stackblocksize();
>                ^      ~~~~~~~~~~~~~~~~

Also applied.
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux