Skip to content

New warnings for identifying dead-code in packages/classes #1564

@jcurtiss8086

Description

@jcurtiss8086

This is in reference to discussion #1563

The request is to add new warnings that can identify the following cases. The existing -Wunused-variable warning excludes packages/class-members, and -Wunused-typedef excludes packages. Detecting unused functions/tasks is a new item.

packages:

  • Unused variables
  • Unused typedefs
  • Unused functions/tasks

classes:

  • Unused member variables
  • Unused functions/tasks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions