fix compiler warnings about unitialized variables (they arent, but ...)

This commit is contained in:
Stefan Frederik 2021-08-19 09:08:43 +02:00
parent 40a94bed87
commit 5abe48f24e
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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';