Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[U304-024] Set but not used after call warnings #32

Open
treiher opened this issue Mar 5, 2021 · 0 comments
Open

[U304-024] Set but not used after call warnings #32

treiher opened this issue Mar 5, 2021 · 0 comments

Comments

@treiher
Copy link
Member

treiher commented Mar 5, 2021

Issue

A warning about a set but not used argument after a call is shown, although there is no further use for this argument.

Workaround

  1. Suppress warning by Warnings pragma.
  2. Call specific ghost procedure with the affected argument (e.g., Ignore (Arg))
  3. Use assertion with specific ghost function (e.g., pragma Assert (Is_Empty (Arg)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant