mirror of
https://github.com/curl/curl.git
synced 2026-08-24 19:53:46 +03:00
lib: fix -Wassign-enum warnings
configure --enable-debug now enables -Wassign-enum with clang,
identifying several enum "abuses" also fixed.
Reported-by: Gisle Vanem
Bug: 879007f811 (commitcomment-42087553)
Closes #5929
This commit is contained in:
parent
ad425d3e3e
commit
17fcdf6a31
15 changed files with 53 additions and 48 deletions
|
|
@ -101,7 +101,7 @@ for my $name (sort @names) {
|
|||
}
|
||||
|
||||
print <<FOOT
|
||||
{NULL, 0, 0, 0} /* end of table */
|
||||
{NULL, CURLOPT_LASTENTRY, 0, 0} /* end of table */
|
||||
};
|
||||
|
||||
#ifdef DEBUGBUILD
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue