Don't put out "return" in outputtrans if action is not tested

otherwise compiling trans.c give warning about statment not reached.
This commit is contained in:
bruce 1987-01-21 15:36:18 +00:00
parent 9acc354608
commit 819136660e

View file

@ -153,7 +153,8 @@ outputdotrans()
fprint(ofile,"\t\t\tgoto free%d;\n",patterns[s].m_len);
}
}
fprint(ofile,"\t\treturn;\n");
if(!seennontested)
fprint(ofile,"\t\treturn;\n");
}
fprint(ofile,"\t}\n");
for(i=longestpattern;i>0;i--)