Skip to content

sectransp: fix compiler warnings#11773

Closed
vszakats wants to merge 1 commit intocurl:masterfrom
vszakats:macwarn
Closed

sectransp: fix compiler warnings#11773
vszakats wants to merge 1 commit intocurl:masterfrom
vszakats:macwarn

Conversation

@vszakats
Copy link
Member

@vszakats vszakats commented Aug 31, 2023

https://github.com/curl/curl-for-win/actions/runs/6037489221/job/16381860220#step:3:11046

./curl-for-win/curl/lib/vtls/sectransp.c:2435:14: warning: unused variable 'success' [-Wunused-variable]
    OSStatus success;
             ^
./curl-for-win/curl/lib/vtls/sectransp.c:3300:44: warning: unused parameter 'sha256len' [-Wunused-parameter]
                                    size_t sha256len)
                                           ^

Closes #11773

https://github.com/curl/curl-for-win/actions/runs/6037489221/job/16381860220#step:3:11046
```
/Users/runner/work/curl-for-win/curl-for-win/curl/lib/vtls/sectransp.c:2435:14: warning: unused variable 'success' [-Wunused-variable]
    OSStatus success;
             ^
/Users/runner/work/curl-for-win/curl-for-win/curl/lib/vtls/sectransp.c:3300:44: warning: unused parameter 'sha256len' [-Wunused-parameter]
                                    size_t sha256len)
                                           ^
```

Closes #xxxxx
@vszakats vszakats added build appleOS specific to an Apple operating system labels Aug 31, 2023
@github-actions github-actions bot added the TLS label Aug 31, 2023
@vszakats
Copy link
Member Author

vszakats commented Aug 31, 2023

There is also this one:

./curl-for-win/curl/lib/vtls/sectransp.c:1206:7: warning: 'CFURLCreateDataAndPropertiesFromResource' is deprecated:
  first deprecated in macOS 10.9 - For resource data, use the CFReadStream API.
  For file resource properties, use CFURLCopyResourcePropertiesForKeys.
  [-Wdeprecated-declarations]

vszakats added a commit to curl/curl-for-win that referenced this pull request Aug 31, 2023
vszakats added a commit to curl/curl-for-win that referenced this pull request Aug 31, 2023
vszakats added a commit to curl/curl-for-win that referenced this pull request Aug 31, 2023
@nickzman
Copy link
Member

LGTM.

@vszakats vszakats closed this in 4727d32 Aug 31, 2023
@vszakats vszakats deleted the macwarn branch August 31, 2023 23:06
ptitSeb pushed a commit to wasix-org/curl that referenced this pull request Sep 25, 2023
https://github.com/curl/curl-for-win/actions/runs/6037489221/job/16381860220#step:3:11046
```
/Users/runner/work/curl-for-win/curl-for-win/curl/lib/vtls/sectransp.c:2435:14: warning: unused variable 'success' [-Wunused-variable]
    OSStatus success;
             ^
/Users/runner/work/curl-for-win/curl-for-win/curl/lib/vtls/sectransp.c:3300:44: warning: unused parameter 'sha256len' [-Wunused-parameter]
                                    size_t sha256len)
                                           ^
```

Closes curl#11773
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

appleOS specific to an Apple operating system build TLS

Development

Successfully merging this pull request may close these issues.

2 participants