From d3a6914e3b3f04b0f2ec2c27995cb7e3975f5d27 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 14 Sep 2009 22:28:11 +0200 Subject: s3:vfs_catia: Use talloc_zero for simplification --- source3/modules/vfs_catia.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source3/modules/vfs_catia.c b/source3/modules/vfs_catia.c index d4fef4d14e..279ab596fb 100644 --- a/source3/modules/vfs_catia.c +++ b/source3/modules/vfs_catia.c @@ -55,8 +55,7 @@ static bool build_table(struct char_mappings **cmaps, int value) int i; int start = T_START(value); - (*cmaps) = (struct char_mappings *) - TALLOC_ZERO(NULL, sizeof(struct char_mappings)); + (*cmaps) = talloc_zero(NULL, struct char_mappings); if (!*cmaps) return False; -- cgit