[Ada] Minor refactoring: remove extra parentheses
authorPiotr Trojanek <trojanek@adacore.com>
Tue, 17 Jul 2018 08:05:34 +0000 (08:05 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Tue, 17 Jul 2018 08:05:34 +0000 (08:05 +0000)
2018-07-17  Piotr Trojanek  <trojanek@adacore.com>

gcc/ada/

* einfo.adb (Is_Wrapper_Package): Remove extra parentheses.

From-SVN: r262770

gcc/ada/ChangeLog
gcc/ada/einfo.adb

index 294602ee19aed562e6d83c5befa1ed2916d93753..5aff421a5b449c5828b3f3c4083d04f220d015f5 100644 (file)
@@ -1,3 +1,7 @@
+2018-07-17  Piotr Trojanek  <trojanek@adacore.com>
+
+       * einfo.adb (Is_Wrapper_Package): Remove extra parentheses.
+
 2018-07-17  Ed Schonberg  <schonberg@adacore.com>
 
        * sem_util.adb (Enclosing_Subprogram): Handle properly entries, and
index 10a04a360158bda6bece50d477eaec907403cf21..cadbd321c4c23c49909f996b493b3de4ecae3578 100644 (file)
@@ -8385,7 +8385,7 @@ package body Einfo is
 
    function Is_Wrapper_Package (Id : E) return B is
    begin
-      return (Ekind (Id) = E_Package and then Present (Related_Instance (Id)));
+      return Ekind (Id) = E_Package and then Present (Related_Instance (Id));
    end Is_Wrapper_Package;
 
    -----------------