From 3a59a70dab359c4a1e992625b7adaa15f37a10ca Mon Sep 17 00:00:00 2001 From: Noel Power Date: Mon, 8 Jul 2019 13:46:39 +0000 Subject: 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 Reviewed-by: Gary Lockyer --- nsswitch/libwbclient/wbc_util.c | 1 - 1 file changed, 1 deletion(-) (limited to 'nsswitch') 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); } -- cgit v1.2.1