dvec abstraction, #7/11, emphasise `v_scale = NULL' initialisation
This commit is contained in:
parent
1304001739
commit
fdae9b7c06
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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…
Reference in New Issue