Skip to content

ae_source_module_exists in tools/ae.c is unused, which clang -Werror rejects #3486

Closed

Description

@nicolas-maman

ae_source_module_exists in tools/ae.c (added with 0d6029d) has no caller. ae_source_module_path is used directly instead. With clang, -Wall -Werror refuses the file (-Wunused-function), so building ae with clang under -Werror, or checking it with zig cc -Wall -Werror, needs -Wno-unused-function.

Expected: the function is removed, or used where ae_source_module_path is called only to test that the module exists.

Found while reviewing #3477; not part of it.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions