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

Mark some C variables as unused #1541

Merged
merged 1 commit into from
Dec 6, 2022
Merged

Conversation

antalsz
Copy link
Contributor

@antalsz antalsz commented Dec 5, 2022

There are a couple of non-#ifdef _WIN32 C functions that don't use their arguments; this PR marks those arguments as unused., silencing some warnings.

Copy link
Collaborator

@voodoos voodoos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks !

@voodoos voodoos merged commit 0e43752 into ocaml:master Dec 6, 2022
voodoos added a commit to voodoos/merlin that referenced this pull request Dec 13, 2022
from antalsz/unused-c-variables
voodoos added a commit that referenced this pull request Dec 13, 2022
from antalsz/unused-c-variables
voodoos added a commit to voodoos/opam-repository that referenced this pull request Dec 13, 2022
CHANGES:

Thu Dec 13 11:49:42 CEST 2022

  + merlin binary
    - Restore compatibility with the compiler's command line by accepting
      the `-safe-string` flag as a no-op instead of rejecting it. (ocaml/merlin#1544,
      fixes ocaml/merlin#1518)
    - Mark some C variables as unused to remove warnings (ocaml/merlin#1541, @antalsz)
voodoos added a commit to voodoos/merlin that referenced this pull request May 2, 2024
from antalsz/unused-c-variables
voodoos added a commit to voodoos/merlin that referenced this pull request May 2, 2024
from antalsz/unused-c-variables
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.

2 participants