diff options
author | Noel Power <noel.power@suse.com> | 2019-07-08 13:46:39 +0000 |
---|---|---|
committer | Gary Lockyer <gary@samba.org> | 2019-07-11 04:08:13 +0000 |
commit | 3a59a70dab359c4a1e992625b7adaa15f37a10ca (patch) | |
tree | a6b594819934d09620748715a06af6331d923813 /nsswitch | |
parent | c38a7745b18ff83ad0097e604967a2501e88d1e1 (diff) | |
download | samba-3a59a70dab359c4a1e992625b7adaa15f37a10ca.tar.gz |
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>
Diffstat (limited to 'nsswitch')
-rw-r--r-- | nsswitch/libwbclient/wbc_util.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/nsswitch/libwbclient/wbc_util.c b/nsswitch/libwbclient/wbc_util.c index 476ed50fa44..bd2d0f8b399 100644 --- a/nsswitch/libwbclient/wbc_util.c +++ b/nsswitch/libwbclient/wbc_util.c @@ -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); } |