[Ada] Replace warning suppression with assertion
authorPiotr Trojanek <trojanek@adacore.com>
Tue, 20 Oct 2020 08:15:20 +0000 (10:15 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 26 Nov 2020 08:39:55 +0000 (03:39 -0500)
commitc9e2eeb5034fd3e2f262963ca5e2fd72667b3865
tree299a3d1d9f892967272e91cc6edd1e81f26a4abf
parent4e94b2442d9286cafe47f32579b19a2ea681e132
[Ada] Replace warning suppression with assertion

gcc/ada/

* sem_res.adb (Resolve_Membership_Op): Replace pragma Warnings
with pragma Assert.
gcc/ada/sem_res.adb