URL:
https://github.com/SSSD/sssd/pull/354
Author: lslebodn
Title: #354: libwbclient: Fix warning statement with no effect
Action: opened
PR body:
"""
src/sss_client/libwbclient/wbc_pam_sssd.c: In function ‘wbcAuthenticateUserEx’:
src/sss_client/libwbclient/wbc_pam_sssd.c:52:5: error: statement with no effect
[-Werror=unused-value]
WBC_ERR_WINBIND_NOT_AVAILABLE;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/sss_client/libwbclient/wbc_pam_sssd.c:53:1: error: control reaches end of non-void
function [-Werror=return-type]
}
^
`WBC_SSSD_NOT_IMPLEMENTED` is not an error code but also macro which can log to syslog
and then return `WBC_ERR_NOT_IMPLEMENTED`
"""
To pull the PR as Git branch:
git remote add ghsssd
https://github.com/SSSD/sssd
git fetch ghsssd pull/354/head:pr354
git checkout pr354