1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

Fix warning: variable ‘status’ set but not used.

This commit is contained in:
Jeremy Allison 2012-06-18 14:37:15 -07:00
parent d1bcbd785f
commit 737acc7807

View File

@ -125,7 +125,6 @@ static int net_g_lock_dump(struct net_context *c, int argc, const char **argv)
struct tevent_context *ev = NULL;
struct messaging_context *msg = NULL;
struct g_lock_ctx *g_ctx = NULL;
NTSTATUS status;
int ret = -1;
if (argc != 1) {
@ -137,7 +136,7 @@ static int net_g_lock_dump(struct net_context *c, int argc, const char **argv)
goto done;
}
status = g_lock_dump(g_ctx, argv[0], net_g_lock_dump_fn, NULL);
(void)g_lock_dump(g_ctx, argv[0], net_g_lock_dump_fn, NULL);
ret = 0;
done: