Simplify link-type checks in record supports

This commit is contained in:
Andrew Johnson
2016-06-02 22:22:11 -05:00
parent 7627454f63
commit d1986edd9e
9 changed files with 3 additions and 60 deletions

View File

@@ -104,7 +104,6 @@ static long init_record(stringinRecord *prec, int pass)
recGblInitConstantLink(&prec->siml,DBF_USHORT,&prec->simm);
}
/* stringin.siol must be a CONSTANT or a PV_LINK or a DB_LINK */
if (prec->siol.type == CONSTANT) {
recGblInitConstantLink(&prec->siol,DBF_STRING,prec->sval);
}