[Ada] Remove redundant checks for non-empty list of aspects
authorPiotr Trojanek <trojanek@adacore.com>
Mon, 28 Jun 2021 20:34:10 +0000 (22:34 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 20 Sep 2021 12:31:38 +0000 (12:31 +0000)
commit71a4bdada59d2d6d1f17c949eaf9377ebb7a8854
treea407658c6b6df308cb850daafaf37b4eae2f07a0
parent3613473ab1765efc8e60b8e030eb1919af0b20e3
[Ada] Remove redundant checks for non-empty list of aspects

gcc/ada/

* inline.adb (Has_Excluded_Declaration): Remove redundant guard;
the guarded code will call First on a No_List, which is
well-defined and gives Empty.
gcc/ada/inline.adb