From: Andreas Schneider Date: Wed, 9 Feb 2011 08:46:43 +0000 (+0100) Subject: s3-rpc_client: Fixed an uninitialized variable. X-Git-Tag: tevent-0.9.11~749 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=da9cd736d2e9e32de9b5259aa06f9cf4634377bc;p=thirdparty%2Fsamba.git s3-rpc_client: Fixed an uninitialized variable. Signed-off-by: Günther Deschner Autobuild-User: Günther Deschner Autobuild-Date: Thu Feb 10 18:32:08 CET 2011 on sn-devel-104 --- 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;