fix compiler warnings about unitialized variables (they arent, but ...)
This commit is contained in:
parent
40a94bed87
commit
5abe48f24e
|
|
@ -709,7 +709,7 @@ void copy_objects(int what)
|
|||
if(c!=k) break;
|
||||
{
|
||||
xPoly *p = &xctx->poly[c][n];
|
||||
double bx1, by1, bx2, by2;
|
||||
double bx1 = 0.0, by1 = 0.0, bx2 = 0.0, by2 = 0.0;
|
||||
double *x = my_malloc(227, sizeof(double) *p->points);
|
||||
double *y = my_malloc(228, sizeof(double) *p->points);
|
||||
int j;
|
||||
|
|
|
|||
|
|
@ -476,7 +476,7 @@ void spice_netlist(FILE *fd, int spice_stop )
|
|||
flag = 1;
|
||||
}
|
||||
if(top_subckt) {
|
||||
int d;
|
||||
int d = 'X';
|
||||
if(!strcmp(type, "ipin")) d = 'I';
|
||||
if(!strcmp(type, "opin")) d = 'O';
|
||||
if(!strcmp(type, "iopin")) d = 'B';
|
||||
|
|
|
|||
Loading…
Reference in New Issue