mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
nsswitch/libwbclient: clang: Fix Value stored to 'wbc_status' is never read
Fixes: nsswitch/libwbclient/wbc_util.c:123:3: warning: Value stored to 'wbc_status' is never read <--[clang] wbc_status = WBC_ERR_SUCCESS; ^ ~~~~~~~~~~~~~~~ 1 warning generated. Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
This commit is contained in:
parent
c38a7745b1
commit
3a59a70dab
@ -120,7 +120,6 @@ wbcErr wbcCtxInterfaceDetails(struct wbcContext *ctx,
|
||||
if (wbc_status == WBC_ERR_DOMAIN_NOT_FOUND) {
|
||||
/* maybe it's a standalone server */
|
||||
domain = NULL;
|
||||
wbc_status = WBC_ERR_SUCCESS;
|
||||
} else {
|
||||
BAIL_ON_WBC_ERROR(wbc_status);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user