s3-modules: fix get_acl_blob in the acl_tdb VFS module.
authorGünther Deschner <gd@samba.org>
Thu, 18 Feb 2010 01:13:07 +0000 (02:13 +0100)
committerGünther Deschner <gd@samba.org>
Thu, 18 Feb 2010 01:17:50 +0000 (02:17 +0100)
Shuttle-reviewed by jra :)

Guenther

source3/modules/vfs_acl_tdb.c

index ac11a51b3bb4c7e5d8dc230ade87db02cf9020d2..bfed0eb2b87764af263278c5d1e474cbfdf25d6f 100644 (file)
@@ -147,7 +147,7 @@ static NTSTATUS get_acl_blob(TALLOC_CTX *ctx,
        TDB_DATA data;
        struct file_id id;
        struct db_context *db;
-       NTSTATUS status;
+       NTSTATUS status = NT_STATUS_OK;
        SMB_STRUCT_STAT sbuf;
 
        SMB_VFS_HANDLE_GET_DATA(handle, db, struct db_context,