mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
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>
This commit is contained in:
parent
9981b857a5
commit
24a897f029
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user