s3-rpc_client: Fixed an uninitialized variable.
authorAndreas Schneider <asn@samba.org>
Wed, 9 Feb 2011 08:46:43 +0000 (09:46 +0100)
committerGünther Deschner <gd@samba.org>
Thu, 10 Feb 2011 17:32:08 +0000 (18:32 +0100)
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

source3/rpc_client/cli_lsarpc.c

index 36239f51e15cbda1c7db11cdfda9bd4a5185c775..0dbe813c9b46eac7f07ab3a2cf47cc3ef28fc7e4 100644 (file)
@@ -337,7 +337,7 @@ static NTSTATUS dcerpc_lsa_lookup_sids_generic(struct dcerpc_binding_handle *h,
                                               bool use_lookupsids3,
                                               NTSTATUS *presult)
 {
                                               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;
        NTSTATUS result = NT_STATUS_OK;
        int sids_left = 0;
        int sids_processed = 0;