Skip to content

Analyzer warnings for unused variables #9147

Closed
@blois

Description

@blois

void foo() {
 // Should be a warning- it's assigned but never referenced.
 var something = 1;
}

This came up in a bug, it's something which I've felt was helpful from other analyzers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions