Skip to content

Fixed "Value assigned to 'x' never used" hints in Delphi 13#168

Open
boramis wants to merge 1 commit intoproject-jedi:masterfrom
ScooterSoftware:fix-noreturn-warnings
Open

Fixed "Value assigned to 'x' never used" hints in Delphi 13#168
boramis wants to merge 1 commit intoproject-jedi:masterfrom
ScooterSoftware:fix-noreturn-warnings

Conversation

@boramis
Copy link
Contributor

@boramis boramis commented Jan 2, 2026

This relies on the jedi/jedi.inc merge request to add SUPPORTS_NORETURN, and suppresses a few unnecessary assignments that cause the "never used" error now that System.Error declares noreturn.

@obones
Copy link
Member

obones commented Jan 20, 2026

Thanks for this.
This is strange, I'm not seeing those warnings in the build machine output, visible here:
https://github.com/project-jedi/tools/blob/master/build_results/jcl.md

@Delphier
Copy link
Contributor

@obones in Delphi 13 64-bit only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants