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,6 +153,7 @@ outputdotrans()
fprint(ofile,"\t\t\tgoto free%d;\n",patterns[s].m_len); fprint(ofile,"\t\t\tgoto free%d;\n",patterns[s].m_len);
} }
} }
if(!seennontested)
fprint(ofile,"\t\treturn;\n"); fprint(ofile,"\t\treturn;\n");
} }
fprint(ofile,"\t}\n"); fprint(ofile,"\t}\n");