Browse Source

dvec abstraction, #7/11, emphasise `v_scale = NULL' initialisation

pre-master-46
rlar 10 years ago
parent
commit
fdae9b7c06
  1. 1
      src/frontend/dvec.c
  2. 1
      src/frontend/outitf.c
  3. 1
      src/xspice/evt/evtplot.c

1
src/frontend/dvec.c

@ -13,6 +13,7 @@ dvec_alloc(void)
ZERO(rv, struct dvec);
rv->v_plot = NULL;
rv->v_scale = NULL;
rv->v_numdims = 0;
return rv;

1
src/frontend/outitf.c

@ -1036,7 +1036,6 @@ plotInit(runDesc *run)
v->v_type = guess_type(name);
v->v_length = 0;
v->v_scale = NULL;
if (!run->isComplex) {
v->v_flags = VF_REAL;
v->v_realdata = NULL;

1
src/xspice/evt/evtplot.c

@ -194,7 +194,6 @@ struct dvec *EVTfindvec(
scale->v_flags = VF_REAL & ~VF_PERMANENT;
scale->v_length = i;
scale->v_realdata = anal_point_vec;
scale->v_scale = NULL;
d = dvec_alloc();

Loading…
Cancel
Save