Skip to content

Unused variable in Option::parse #158

@var-const

Description

@var-const

The following variable appears to be unused:

std::string m = match[2];

For context, I work on libc++ and we are considering enabling the unused variable warnings for some standard library types, including std::string. This produces a warning on your project and could potentially break some of the users (if they compile with warnings as errors), so we wanted to give you an early heads-up. The fix appears to be straightforward.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions