advapi32: Explicitly initialize nested array element
Andrew Talbot
Andrew.Talbot at talbotville.com
Mon Mar 12 07:06:31 CDT 2007
Not all tools like to parse empty braces (e.g., Splint).
-- Andy.
---
Changelog:
advapi32: Explicitly initialize nested array element.
diff -urN a/dlls/advapi32/security.c b/dlls/advapi32/security.c
--- a/dlls/advapi32/security.c 2006-11-13 17:34:33.000000000 +0000
+++ b/dlls/advapi32/security.c 2007-03-12 11:59:15.000000000 +0000
@@ -86,7 +86,7 @@
{ {'C','G'}, WinCreatorGroupSid, { SID_REVISION, 1, { SECURITY_CREATOR_SID_AUTHORITY }, { SECURITY_CREATOR_GROUP_RID } } },
{ {0,0}, WinCreatorOwnerServerSid, { SID_REVISION, 1, { SECURITY_CREATOR_SID_AUTHORITY }, { SECURITY_CREATOR_OWNER_SERVER_RID } } },
{ {0,0}, WinCreatorGroupServerSid, { SID_REVISION, 1, { SECURITY_CREATOR_SID_AUTHORITY }, { SECURITY_CREATOR_GROUP_SERVER_RID } } },
- { {0,0}, WinNtAuthoritySid, { SID_REVISION, 0, { SECURITY_NT_AUTHORITY }, { } } },
+ { {0,0}, WinNtAuthoritySid, { SID_REVISION, 0, { SECURITY_NT_AUTHORITY }, { SECURITY_NULL_RID } } },
{ {0,0}, WinDialupSid, { SID_REVISION, 1, { SECURITY_NT_AUTHORITY }, { SECURITY_DIALUP_RID } } },
{ {'N','U'}, WinNetworkSid, { SID_REVISION, 1, { SECURITY_NT_AUTHORITY }, { SECURITY_NETWORK_RID } } },
{ {0,0}, WinBatchSid, { SID_REVISION, 1, { SECURITY_NT_AUTHORITY }, { SECURITY_BATCH_RID } } },
More information about the wine-patches
mailing list