Skip to content

sssd_flush_cache() errors ignored #1221

Open
@alejandro-colomar

Description

@alejandro-colomar

return -1;

#define sssd_flush_cache(service) (0)

This function (actually the macro when it's not being compiled) triggered an error while enabling -Werror=all, due to (all) callers ignoring the return value. Do we need to care about that return value when this function fails?

Cc: @jhrozek

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