siol cannot be a constant link.

This commit is contained in:
Janet B. Anderson
1996-10-30 21:31:07 +00:00
parent 3ef7c191db
commit b52605705b

View File

@@ -167,11 +167,6 @@ static long init_record(pwf,pass)
recGblInitConstantLink(&pwf->siml,DBF_USHORT,&pwf->simm);
}
/* wf.siol must be a CONSTANT or a PV_LINK or a DB_LINK */
if (pwf->siol.type == CONSTANT) {
recGblInitConstantLink(&pwf->siol,DBF_DOUBLE,&pwf->sval);
}
/* must have dset defined */
if(!(pdset = (struct wfdset *)(pwf->dset))) {
recGblRecordError(S_dev_noDSET,(void *)pwf,"wf: init_record");