Skip to content

i3-4.10.2/src/workspace.c:131: possible bad if ? #1742

@dcb314

Description

@dcb314

[../i3-4.10.2/src/workspace.c:131]: (warning) Char literal compared with pointer 'target'. Did you intend to dereference it?

while ((*target == ' ' || *target == '\t') && target != '\0')

Maybe

while ((*target == ' ' || *target == '\t') && *target != '\0')

Metadata

Metadata

Assignees

No one assigned

    Labels

    4.10.2bugmissing-logRead the CONTRIBUTING.md file for instructions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions