summaryrefslogtreecommitdiff
path: root/source3/rpc_client/cli_lsarpc.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-02-09 09:46:43 +0100
committerGünther Deschner <gd@samba.org>2011-02-10 18:32:08 +0100
commitda9cd736d2e9e32de9b5259aa06f9cf4634377bc (patch)
treecce2484dc9f240b833f8bda3392e8baf3b505f9d /source3/rpc_client/cli_lsarpc.c
parent8cffe147eb609fe6aef05124d2ba93ec21b88715 (diff)
downloadsamba-da9cd736d2e9e32de9b5259aa06f9cf4634377bc.tar.gz
s3-rpc_client: Fixed an uninitialized variable.
Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Feb 10 18:32:08 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/rpc_client/cli_lsarpc.c')
-rw-r--r--source3/rpc_client/cli_lsarpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_lsarpc.c b/source3/rpc_client/cli_lsarpc.c
index 36239f51e15..0dbe813c9b4 100644
--- a/source3/rpc_client/cli_lsarpc.c
+++ b/source3/rpc_client/cli_lsarpc.c
@@ -337,7 +337,7 @@ static NTSTATUS dcerpc_lsa_lookup_sids_generic(struct dcerpc_binding_handle *h,
bool use_lookupsids3,
NTSTATUS *presult)
{
- NTSTATUS status;
+ NTSTATUS status = NT_STATUS_OK;
NTSTATUS result = NT_STATUS_OK;
int sids_left = 0;
int sids_processed = 0;