[Ada] Simplify traversal in hooking of transient scopes
authorPiotr Trojanek <trojanek@adacore.com>
Thu, 16 Dec 2021 15:15:00 +0000 (16:15 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 7 Jan 2022 16:24:10 +0000 (16:24 +0000)
commitc31cbf91a0e2740cb317a4339a62cebd1d633475
tree6ee6fea28ae178fb66b8922de37b0ee394e97158
parent93b2e53e872d4cd3c1f9521df2923ea74e473193
[Ada] Simplify traversal in hooking of transient scopes

gcc/ada/

* exp_ch7.adb (Process_Transients_In_Scope): Remove unnecessary
initialization of Must_Hook; change Detect_Subprogram_Call from
function to procedure; adapt caller.
gcc/ada/exp_ch7.adb