← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Fix clang warnings

 

On Mon, Jun 02, 2014 at 07:52:52PM +0200, Bernhard Stegmaier wrote:
> Removes unneeded checks (e.g., a check “x > 0” for an "unsigned x” is pretty obsolete).

x >= 0, I hope :D

As for unused variable probably it's only a Mac thing (or clang has
a better flow analyzer than g++), I don't see any with -O3 -Wall on
linux

-- 
Lorenzo Marcantonio
Logos Srl


Follow ups

References