Commit fa9f3f8c by Arnaud Charlet Committed by Pierre-Marie de Rodat

[Ada] Sem_Elab: remove duplicate condition

2018-07-31  Arnaud Charlet  <charlet@adacore.com>

gcc/ada/

	* sem_elab.adb: Remove duplicate condition detected by CodePeer.

From-SVN: r263106
parent 0d756922
2018-07-31 Arnaud Charlet <charlet@adacore.com>
* sem_elab.adb: Remove duplicate condition detected by CodePeer.
2018-07-31 Ed Schonberg <schonberg@adacore.com>
* exp_unst.adb (Subp_Index): In the case of a protected
......
......@@ -4763,7 +4763,6 @@ package body Sem_Elab is
and then not Comes_From_Source (N)
and then Present (Context)
and then Nkind (Context) = N_Handled_Sequence_Of_Statements
and then not Comes_From_Source (N)
then
return False;
end if;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment