frontend/ftesopt.c, getFTEstat(), prepare for rewrite
This commit is contained in:
parent
1d15f6bfce
commit
cdf2b69a38
|
|
@ -58,22 +58,25 @@ getFTEstat(struct FTEparm *p, FTESTATistics *stat, struct variable *next)
|
||||||
|
|
||||||
switch (p->id) {
|
switch (p->id) {
|
||||||
case FTEOPT_NLDECK:
|
case FTEOPT_NLDECK:
|
||||||
|
v->va_name = copy(p->description);
|
||||||
|
v->va_next = next;
|
||||||
|
v->va_type = p->dataType;
|
||||||
v->va_num = stat->FTESTATdeckNumLines;
|
v->va_num = stat->FTESTATdeckNumLines;
|
||||||
break;
|
return v;
|
||||||
case FTEOPT_NLT:
|
case FTEOPT_NLT:
|
||||||
|
v->va_name = copy(p->description);
|
||||||
|
v->va_next = next;
|
||||||
|
v->va_type = p->dataType;
|
||||||
v->va_real = stat->FTESTATnetLoadTime;
|
v->va_real = stat->FTESTATnetLoadTime;
|
||||||
break;
|
return v;
|
||||||
case FTEOPT_NPT:
|
case FTEOPT_NPT:
|
||||||
|
v->va_name = copy(p->description);
|
||||||
|
v->va_next = next;
|
||||||
|
v->va_type = p->dataType;
|
||||||
v->va_real = stat->FTESTATnetParseTime;
|
v->va_real = stat->FTESTATnetParseTime;
|
||||||
break;
|
return v;
|
||||||
default:
|
default:
|
||||||
tfree(v);
|
tfree(v);
|
||||||
return (NULL);
|
return (NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
v->va_name = copy(p->description);
|
|
||||||
v->va_next = next;
|
|
||||||
v->va_type = p->dataType;
|
|
||||||
|
|
||||||
return (v);
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue