Skip to content

Clang-tidy Osreg_user_dir_legacy error on osapi.cpp #7677

Closed

Description

@Shivansps

Im getting a clang-tidy error on osapi.cpp after incomporating the last few commits into my branch #6992 , nothing i did is related to that, but im getting this error because im modifiying that file.

extern const char* Osreg_user_dir_legacy;

clang-tidy: redundant 'Osreg_user_dir_legacy' declaration (readability-redundant-declaration)
Check a pull request / Linux (Debug, clang-16)

Im not sure what to do here.

Activity

  1. The-E commented on Aug 2, 2026

    @The-E
    Member

    As the definition of that error states:

    Such redundant declarations can be removed without changing program behavior.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions