[PATCH] Fix build on hosts that won't allow var = {} initialisation
Christian Ambach
ambi at samba.org
Thu May 23 09:58:41 MDT 2013
On 05/23/2013 07:42 AM, Andrew Bartlett wrote:
> No, the patch I was proposing is attached. What you pushed is another
> patch I was also proposing (I've been busy).
> - struct smb_acl_wrapper acl_wrapper = {};
> + /* Initialise this to zero, in a portable way */
> + struct smb_acl_wrapper acl_wrapper = {
> + NULL
> + };
Why not use ZERO_STRUCT (as used elsewhere)?
Cheers,
Christian
More information about the samba-technical
mailing list