URL:
https://github.com/SSSD/sssd/pull/272
Author: lslebodn
Title: #272: cache_req: Fix warning maybe-uninitialized
Action: opened
PR body:
"""
the variable `req` could be used uninitialized in done section if talloc_new returns
`NULL`
src/responder/common/cache_req/cache_req_search.c:
In function 'cache_req_search_done':
src/responder/common/cache_req/cache_req_search.c:467:9:
error: 'req' may be used uninitialized in this function
[-Werror=maybe-uninitialized]
tevent_req_error(req, ret);
^
src/responder/common/cache_req/cache_req_search.c:424:24:
note: 'req' was declared here
struct tevent_req *req;
^
cc1: all warnings being treated as errors
"""
To pull the PR as Git branch:
git remote add ghsssd
https://github.com/SSSD/sssd
git fetch ghsssd pull/272/head:pr272
git checkout pr272