Skip to content

cmake/FindGSS: initialize result variables#17806

Closed
vszakats wants to merge 2 commits intocurl:masterfrom
vszakats:cm-gss-clearvar-fixlint
Closed

cmake/FindGSS: initialize result variables#17806
vszakats wants to merge 2 commits intocurl:masterfrom
vszakats:cm-gss-clearvar-fixlint

Conversation

@vszakats
Copy link
Copy Markdown
Member

@vszakats vszakats commented Jul 3, 2025

Also rename _GSS* local variables to _gss* to please clang-lint,
which emitted new warnings after adding the initializations.

Ref: #17802 (comment)


vszakats added 2 commits July 3, 2025 13:51
trips cmake-lint:
```
CMake/FindGSS.cmake:55,04: [C0103] Invalid directory variable name "_GSS_CFLAGS" doesn't match `([A-Z][0-9A-Z_]+|[A-Z][A-Za-z0-9]+_FOUND|[a-z]+_SOURCES|prefix|exec_prefix|includedir|libdir|ssize_t|_FILE_OFFSET_BITS)|_[0-9a-z_]+`
CMake/FindGSS.cmake:56,04: [C0103] Invalid directory variable name "_GSS_LIBRARY_DIRS" doesn't match `([A-Z][0-9A-Z_]+|[A-Z][A-Za-z0-9]+_FOUND|[a-z]+_SOURCES|prefix|exec_prefix|includedir|libdir|ssize_t|_FILE_OFFSET_BITS)|_[0-9a-z_]+`
CMake/FindGSS.cmake:93,08: [C0103] Invalid directory variable name "_GSS_INCLUDE_DIRS" doesn't match `([A-Z][0-9A-Z_]+|[A-Z][A-Za-z0-9]+_FOUND|[a-z]+_SOURCES|prefix|exec_prefix|includedir|libdir|ssize_t|_FILE_OFFSET_BITS)|_[0-9a-z_]+`
CMake/FindGSS.cmake:94,08: [C0103] Invalid directory variable name "_GSS_LIBRARIES" doesn't match `([A-Z][0-9A-Z_]+|[A-Z][A-Za-z0-9]+_FOUND|[a-z]+_SOURCES|prefix|exec_prefix|includedir|libdir|ssize_t|_FILE_OFFSET_BITS)|_[0-9a-z_]+`
```
@vszakats vszakats force-pushed the cm-gss-clearvar-fixlint branch from 892c705 to 433920c Compare July 3, 2025 11:51
@vszakats vszakats closed this in a88907f Jul 3, 2025
@vszakats vszakats deleted the cm-gss-clearvar-fixlint branch July 3, 2025 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant