[Ada] Cleanup in error about unreachable code

Pierre-Marie de Rodat derodat@adacore.com
Tue Jul 5 08:29:44 GMT 2022

Cleanup only; behaviour is unaffected.

Tested on x86_64-pc-linux-gnu, committed on trunk


	* 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 472 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20220705/9aa29ac9/attachment.bin>

More information about the Gcc-patches mailing list