diff options
author | Volker Lendecke <vl@samba.org> | 2014-07-17 14:11:35 +0000 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2014-07-21 18:00:10 +0200 |
commit | e64359ceb77142856bdd32187f377cfc0fc51674 (patch) | |
tree | a22054c274492cd19877f5d44dd7fe3bce3a0870 /source4/lib/messaging/messaging.c | |
parent | 5db77591f51676461073acde9a1e0ab0eb1622b4 (diff) | |
download | samba-e64359ceb77142856bdd32187f377cfc0fc51674.tar.gz samba-e64359ceb77142856bdd32187f377cfc0fc51674.tar.xz samba-e64359ceb77142856bdd32187f377cfc0fc51674.zip |
messaging4: Remove an unused NTSTATUS var
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/lib/messaging/messaging.c')
-rw-r--r-- | source4/lib/messaging/messaging.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/lib/messaging/messaging.c b/source4/lib/messaging/messaging.c index dde796f8d1..19a20c471c 100644 --- a/source4/lib/messaging/messaging.c +++ b/source4/lib/messaging/messaging.c @@ -928,7 +928,6 @@ NTSTATUS irpc_add_name(struct imessaging_context *msg_ctx, const char *name) struct server_id pid = msg_ctx->server_id; TDB_DATA key, data; int ret; - NTSTATUS status = NT_STATUS_OK; msg_ctx->names = str_list_add(msg_ctx->names, name); if (msg_ctx->names == NULL) { @@ -946,7 +945,7 @@ NTSTATUS irpc_add_name(struct imessaging_context *msg_ctx, const char *name) return map_nt_error_from_tdb(err); } - return status; + return NT_STATUS_OK; } /* |