Skip to content

add more () #1

@thesamprice

Description

@thesamprice
getopt.c:177:70: error: '&&' within '||' [-Werror,-Wlogical-op-parentheses]
                        (optstring[0] == '-' || optstring[0] == '+') &&

Add more ( )

                    if(optstring[0] == ':' ||
                        ((optstring[0] == '-' || optstring[0] == '+') && optstring[1] == ':'))
                    {

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