s3-idmap: fix uninitialized variable in idmap_tdb_sids_to_unixids_action().
authorGünther Deschner <gd@samba.org>
Thu, 19 Aug 2010 12:01:47 +0000 (14:01 +0200)
committerGünther Deschner <gd@samba.org>
Thu, 19 Aug 2010 12:08:06 +0000 (14:08 +0200)
Michael, please check.

Guenther

source3/winbindd/idmap_tdb.c

index a41f6e9fe37f050c900e5981d6ef44d35f49ae48..d00ffbe90113ff1cc1b7c0a3b4d0b226d4845060 100644 (file)
@@ -848,7 +848,7 @@ static NTSTATUS idmap_tdb_sids_to_unixids_action(struct db_context *db,
 {
        struct idmap_tdb_sids_to_unixids_context *state;
        int i;
-       NTSTATUS ret;
+       NTSTATUS ret = NT_STATUS_OK;
 
        state = (struct idmap_tdb_sids_to_unixids_context *)private_data;