ldap: silence clang warning #1992

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Contributor

vszakats commented Oct 15, 2017

Use memset() to initialize a structure to avoid the LLVM/Clang
warning below:

ldap.c:193:39: warning: missing field 'UserLength' initializer [-Wmissing-field-initializers]
  SEC_WINNT_AUTH_IDENTITY cred = { 0, };
ldap: silence clang warning
Use memset() to initialize a structure to avoid the LLVM/Clang
warning below:

ldap.c:193:39: warning: missing field 'UserLength' initializer [-Wmissing-field-initializers]
  SEC_WINNT_AUTH_IDENTITY cred = { 0, };

@vszakats vszakats closed this in 748f530 Oct 15, 2017

@vszakats vszakats deleted the vszakats:ldapwarn branch Oct 15, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment