From 24a897f029dd92a6341ef29e99291c01be928650 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 17 Dec 2012 10:39:10 +0100 Subject: nsswitch: Fix wbclient BAIL macros. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In the code you normally use: BAIL_ON_WBC_ERROR; but the last ; is statement never reached, so dead code. Signed-off-by: Andreas Schneider Reviewed-by: Günther Deschner --- nsswitch/libwbclient/wbc_err_internal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nsswitch/libwbclient/wbc_err_internal.h') diff --git a/nsswitch/libwbclient/wbc_err_internal.h b/nsswitch/libwbclient/wbc_err_internal.h index 83364b8cd97..dd8e7f20a52 100644 --- a/nsswitch/libwbclient/wbc_err_internal.h +++ b/nsswitch/libwbclient/wbc_err_internal.h @@ -29,7 +29,7 @@ if (!WBC_ERROR_IS_OK(x)) { \ goto done; \ } \ - } while(0); + } while(0) #define BAIL_ON_PTR_ERROR(x, status) \ do { \ @@ -39,7 +39,7 @@ } else { \ status = WBC_ERR_SUCCESS; \ } \ - } while (0); + } while (0) #endif /* _WBC_ERR_INTERNAL_H */ -- cgit