summaryrefslogtreecommitdiffstats
path: root/source3/utils/net_g_lock.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2012-06-18 14:37:15 -0700
committerJeremy Allison <jra@samba.org>2012-06-19 10:27:23 -0700
commit737acc78078d0ee9e03cd17bbcf73cd3debdeb18 (patch)
tree2d0b4ee0ee65407b50b3c73a6f57af009903f263 /source3/utils/net_g_lock.c
parentd1bcbd785fc0a2a5d07c27c962d666252fd234a2 (diff)
downloadsamba-737acc78078d0ee9e03cd17bbcf73cd3debdeb18.tar.gz
samba-737acc78078d0ee9e03cd17bbcf73cd3debdeb18.tar.xz
samba-737acc78078d0ee9e03cd17bbcf73cd3debdeb18.zip
Fix warning: variable ‘status’ set but not used.
Diffstat (limited to 'source3/utils/net_g_lock.c')
-rw-r--r--source3/utils/net_g_lock.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/utils/net_g_lock.c b/source3/utils/net_g_lock.c
index e51a1ae28d..05a7392eb9 100644
--- a/source3/utils/net_g_lock.c
+++ b/source3/utils/net_g_lock.c
@@ -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: