summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2012-12-17 10:39:10 +0100
committerGünther Deschner <gd@samba.org>2012-12-21 13:56:00 +0100
commit24a897f029dd92a6341ef29e99291c01be928650 (patch)
tree3aaf3380bf746395d8a3ade46b5fd3666ae63c9f /nsswitch
parent9981b857a5cfba3d55e25541afcfe1fda1bc4338 (diff)
downloadsamba-24a897f029dd92a6341ef29e99291c01be928650.tar.gz
samba-24a897f029dd92a6341ef29e99291c01be928650.tar.bz2
samba-24a897f029dd92a6341ef29e99291c01be928650.zip
nsswitch: Fix wbclient BAIL macros.
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 <asn@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'nsswitch')
-rw-r--r--nsswitch/libwbclient/wbc_err_internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nsswitch/libwbclient/wbc_err_internal.h b/nsswitch/libwbclient/wbc_err_internal.h
index 83364b8cd9..dd8e7f20a5 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 */