Commit 6ed78f5b authored by f3nix's avatar f3nix

Compiler warnings fixes.

parent 9bab41e4
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment