[emboss-dev] Unreachable code in featReadGff3
Pjotr Prins
pjotr.public78 at thebird.nl
Thu Aug 12 06:12:40 EDT 2010
Something funny in the function featReadGff3, it looks like the second else
if(ajRegExec(Gff3Regexregion,line)) is unreachable code:
if(ajRegExec(Gff3Regexblankline, line))
version = 3.0;
else if(ajRegExec(Gff3Regexversion,line))
{
verstr = ajStrNew();
ajRegSubI(Gff3Regexversion, 1, &verstr);
ajStrToFloat(verstr, &version);
ajStrDel(&verstr);
if(version < 3.0)
{
ajStrDel(&line);
return ajFalse;
}
}
else if(ajRegExec(Gff3Regexregion,line))
{
start = ajStrNew();
end = ajStrNew();
(...)
More information about the emboss-dev
mailing list