Could a Eagle guru have a look into the code creating this compil warning:
F:/kicad-launchpad/zone_on_grid/pcbnew/eagle_plugin.cpp:1811:50: warning:
'radius' may be used
uninitialized in this function [-Wmaybe-uninitialized]
wxPoint end( int( radius * cos( end_angle + angle ) +
center.x ),
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
F:/kicad-launchpad/zone_on_grid/pcbnew/eagle_plugin.cpp:1812:55: warning:
'end_angle' may be used
uninitialized in this function [-Wmaybe-uninitialized]
int( radius * sin( end_angle + angle ) +
center.y ) );
It looks to me these variables are really used without initialization is some
cases.
Thanks.
--
Jean-Pierre CHARRAS
_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help : https://help.launchpad.net/ListHelp