Skip to content

error code not returned #160

@bhaller

Description

@bhaller

This one is thanks to Xcode's static analyzer. In kastore_open() there is a spot where an error code is stored but never read:

    if (err != 0) {
        ret = KAS_ERR_IO;
    }

This is at kastore.c:560. It looks to me like you're missing a goto out; there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions