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
base: master
from

Conversation

Projects
None yet
2 participants
@vszakats
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, };
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, };
@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

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