]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Cleanup in error about unreachable code
authorPiotr Trojanek <trojanek@adacore.com>
Mon, 30 May 2022 22:29:43 +0000 (00:29 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 5 Jul 2022 08:28:17 +0000 (08:28 +0000)
commit4ba48342a3d1b37c651df566543708dae0599b71
tree22b422d49da4db92b924ab28e16459d0b8225738
parent21d6ec4579056c97953cb22e99056e6e9a5450c4
[Ada] Cleanup in error about unreachable code

Cleanup only; behaviour is unaffected.

gcc/ada/

* sem_ch5.adb (Check_Unreachable_Code): Avoid explicit use of
Sloc; this should also help when we finally use Source_Span for
prettier error messages.
gcc/ada/sem_ch5.adb