mirror of
https://github.com/curl/curl.git
synced 2026-08-25 11:13:32 +03:00
tidy-up: miscellaneous
- GHA/windows: drop redundant double-quotes. - CMake/PickyWarnings: improve/shorten comment. - INTERNALS: fix typo in LibreSSL release date. - drop redundant parentheses from single variables and sole `#if` expressions. - cf-ip-happy: fix missing space from error string. - telnet: fix parentheses in commented PP code. - lib1922: fix typo test output text. - smbserver: unfold lines. - smbserver: use f-string. - smbserver: initialize binary string as b``. - fix typos in comments. Closes #21972
This commit is contained in:
parent
04a85a1d38
commit
2a606c68fa
16 changed files with 29 additions and 32 deletions
|
|
@ -391,7 +391,7 @@ if(PICKY_COMPILER)
|
|||
list(APPEND _picky "-Wno-conversion") # Avoid false positives
|
||||
endif()
|
||||
endif()
|
||||
elseif(MSVC AND MSVC_VERSION LESS_EQUAL 1951) # Skip for untested/unreleased newer versions
|
||||
elseif(MSVC AND MSVC_VERSION LESS_EQUAL 1951) # Enable for tested versions only
|
||||
list(APPEND _picky "-Wall")
|
||||
list(APPEND _picky "-wd4061") # enumerator 'A' in switch of enum 'B' is not explicitly handled by a case label
|
||||
list(APPEND _picky "-wd4191") # 'type cast': unsafe conversion from 'FARPROC' to 'void (__cdecl *)(void)'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue