← Back to team overview

kicad-developers team mailing list archive

Re: Diff Pairs & Length tuning in the product branch

 

Hi,

On 06.03.2015 02:53, Mark Roszko wrote:

> /home/mroszko/kicad/include/math/vector2d.h:412:54: warning:
> ‘*((void*)(& m)+4).VECTOR2<int>::y’ may be used uninitialized in this
> function [-Wmaybe-uninitialized]
>      return VECTOR2<T> ( x - aVector.x, y - aVector.y );

That is an interesting warning in any case, because this variable is
shadowed by another in the first half of the function, and then assigned
to in the second half.

   Simon

Attachment: signature.asc
Description: OpenPGP digital signature


Follow ups

References