ada: Clean up copying of node trees
commitd50e1383be73ef9cdc9f0d0813fa0e1208657789
authorPiotr Trojanek <trojanek@adacore.com>
Tue, 7 Mar 2023 20:00:46 +0000 (7 21:00 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Thu, 25 May 2023 07:44:18 +0000 (25 09:44 +0200)
tree52708925f9c73b017258edfe9e95716cc0190190
parentc4399ee62946eafbded4334478678d6f3d68787e
ada: Clean up copying of node trees

Before calling routine In_Entity_Map we checked if the entity map is
present; inside this routine we checked this again.

Code cleanup; semantics is unaffected.

gcc/ada/

* sem_util.adb (Update_New_Entities): Remove redundant check for entity
map being present.
gcc/ada/sem_util.adb