Skip to content

ldap: silence clang warning#1992

Closed
vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:ldapwarn
Closed

ldap: silence clang warning#1992
vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:ldapwarn

Conversation

@vszakats

@vszakats vszakats commented Oct 15, 2017

Copy link
Copy Markdown
Member

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, };
@vszakats vszakats closed this in 748f530 Oct 15, 2017
@vszakats vszakats deleted the ldapwarn branch October 15, 2017 16:00
@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.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants