mirror of
https://github.com/curl/curl
synced 2026-08-25 12:32:35 -04:00
tidy-up: miscellaneous
- avoid "will" in builds scripts, scripts folder, curl_easy_ssls_export.md,
and few other files.
- badwords: add "initialise", "nul terminated", "thread safety" and
variations.
- prefer "null-terminat", where missing (two places).
- fix "null-terminat*" missing dash.
- hostip: merge two `#if` blocks.
- tool_doswin: fix comment
Spotted by GitHub Code Quality
Follow-up to 9a2663322c #17572
- fix stray spaces and newlines.
Closes #21638
This commit is contained in:
parent
47f411c6d8
commit
614b94eecc
64 changed files with 203 additions and 213 deletions
|
|
@ -592,7 +592,7 @@ option(BUILD_MISC_DOCS "Build misc man pages (e.g. curl-config and mk-ca-bundle)
|
|||
option(ENABLE_CURL_MANUAL "Build the man page for curl and enable its -M/--manual option" ON)
|
||||
|
||||
if((ENABLE_CURL_MANUAL OR BUILD_LIBCURL_DOCS) AND NOT Perl_FOUND)
|
||||
message(WARNING "Perl not found. Will not build manuals.")
|
||||
message(WARNING "Perl not found. Cannot build manuals.")
|
||||
endif()
|
||||
|
||||
# If we are on AIX, do the _ALL_SOURCE magic
|
||||
|
|
@ -2163,8 +2163,8 @@ if(NOT CURL_DISABLE_INSTALL)
|
|||
set(_explicit_libs "")
|
||||
get_target_property(_imported "${_lib}" IMPORTED)
|
||||
if(NOT _imported)
|
||||
# Reading the LOCATION property on non-imported target will error out.
|
||||
# Assume the user will not need this information in the .pc file.
|
||||
# Reading the LOCATION property on non-imported target does error out.
|
||||
# Assume the user does not need this information in the .pc file.
|
||||
continue()
|
||||
endif()
|
||||
set(_libdirs "")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue