Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ldap: silence clang warning #1992

Closed
wants to merge 1 commit into from

Conversation

@vszakats
Copy link
Member

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, };
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, };
@bagder
bagder approved these changes Oct 15, 2017
@vszakats vszakats closed this in 748f530 Oct 15, 2017
@vszakats vszakats deleted the vszakats:ldapwarn branch Oct 15, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants
You can’t perform that action at this time.