tests/server: give global path
variable a more descriptive name
#16719
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Use a more descriptive global variable name in server code, also
to avoid colliding with this name used elsewhere in libcurl.
This isn't causing an issue at this time, but makes the code prone
to
-Wshadow
warnings in unity mode, if the global variable iscompiled first. This specific variable could collide with the
path
argument of the
curlx_win32_stat()
function.Seen in these CI jobs while doing tests:
https://github.com/curl/curl/actions/runs/13845123447/job/38741731971?pr=15000
https://ci.appveyor.com/project/curlorg/curl/builds/51693340