Compiler warnings fixes.
This commit is contained in:
parent
9bab41e43d
commit
6ed78f5b16
|
@ -105,8 +105,9 @@ int SetQueue (int r,int c,int side,int d,int a,int r2,int c2 )
|
|||
0 si defaut allocation Memoire
|
||||
*/
|
||||
{
|
||||
struct PcbQueue *p, *q, *t;
|
||||
int i, j;
|
||||
struct PcbQueue *p, *q, *t;
|
||||
int i, j;
|
||||
j = 0; // gcc warning fix
|
||||
|
||||
if( (p = Save) != NULL ) /* try free list first */
|
||||
{
|
||||
|
|
|
@ -1431,6 +1431,7 @@ void CPolyLine::AddContourForPadClearance( int type, int x, int y, int w,
|
|||
double r = max(w/2 + fill_clearance, hole_w/2 + hole_clearance);
|
||||
double start_angle = asin( spoke_w/(2.0*r) );
|
||||
double th1, th2, corner_x, corner_y;
|
||||
th1 = th2 = corner_x = corner_y = 0; // gcc warning fix
|
||||
for( int i=0; i<4; i++ )
|
||||
{
|
||||
if( i == 0 )
|
||||
|
|
Loading…
Reference in New Issue