Skip to content

isDir always false, so code has no effect #7002

Closed
@brownrb

Description

@brownrb

in FSBrowser.ino

Line 195 sets isDir false
bool isDir = false;

then a test in line 197 tests the state of isDir which will always be false
output += (isDir) ? "dir" : "file"

Nowhere is the value of isDir changed, so this code has an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions