]> git.ipfire.org Git - thirdparty/curl.git/commit
lib: fix -Wassign-enum warnings
authorDaniel Stenberg <daniel@haxx.se>
Mon, 7 Sep 2020 08:52:48 +0000 (10:52 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 8 Sep 2020 11:53:02 +0000 (13:53 +0200)
commit17fcdf6a310d4c80762455ee9d5e4f52bd55c809
tree747916b49eb0913ab3405ecb3b4484ad104e77d9
parentad425d3e3e2e9b5325332f4b883cdcb23e3f071e
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: https://github.com/curl/curl/commit/879007f8118771f4896334731aaca5850a154675#commitcomment-42087553

Closes #5929
15 files changed:
docs/examples/sslbackend.c
lib/easyoptions.c
lib/optiontable.pl
lib/security.c
lib/vtls/gtls.c
lib/vtls/nss.c
m4/curl-compilers.m4
tests/libtest/lib1538.c
tests/libtest/lib1560.c
tests/libtest/lib1592.c
tests/libtest/lib556.c
tests/libtest/lib583.c
tests/libtest/lib661.c
tests/libtest/mk-lib1521.pl
tests/libtest/test.h