From: Volker Lendecke Date: Mon, 14 Sep 2009 20:28:11 +0000 (+0200) Subject: s3:vfs_catia: Use talloc_zero for simplification X-Git-Tag: talloc-2.0.1~518^2~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3a6914e3b3f04b0f2ec2c27995cb7e3975f5d27;p=thirdparty%2Fsamba.git s3:vfs_catia: Use talloc_zero for simplification --- diff --git a/source3/modules/vfs_catia.c b/source3/modules/vfs_catia.c index d4fef4d14ef..279ab596fba 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;