Skip to content

Unnecessary code in parse_options()? #13

@joast

Description

@joast

All of the elements of program_options have their flag member set to NULL. Doesn't that mean 0 can never be returned by getopt_long() and rendering "case 0:" in the switch statement unnecessary?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions