Skip to content

pem: drop unnecessary wincng.h include - #1834

Closed
vszakats wants to merge 2 commits into
libssh2:masterfrom
vszakats:strange-include
Closed

vszakats wants to merge 2 commits into
libssh2:masterfrom
vszakats:strange-include

Conversation

@vszakats

@vszakats vszakats commented Apr 8, 2026

Copy link
Copy Markdown
Member

Follow-up to 141b035 #1746

@vszakats
vszakats marked this pull request as draft April 8, 2026 01:14
```
/home/runner/work/libssh2/libssh2/src/kex.c:4660:14: error: possible misuse of comma operator here [-Werror,-Wcomma]
 4660 |     for(i = 0, ialg = 0; mlist[i]; i++) {
      |              ^
/home/runner/work/libssh2/libssh2/src/kex.c:4660:9: note: cast expression to void to silence warning
 4660 |     for(i = 0, ialg = 0; mlist[i]; i++) {
      |         ^~~~~
      |         (void)( )
/home/runner/work/libssh2/libssh2/src/kex.c:4680:14: error: possible misuse of comma operator here [-Werror,-Wcomma]
 4680 |     for(i = 0, j = 0; mlist[i] && j < ialg; i++) {
      |              ^
/home/runner/work/libssh2/libssh2/src/kex.c:4680:9: note: cast expression to void to silence warning
 4680 |     for(i = 0, j = 0; mlist[i] && j < ialg; i++) {
      |         ^~~~~
      |         (void)( )
```
https://github.com/libssh2/libssh2/actions/runs/24108981998/job/70339001150?pr=1688
@vszakats
vszakats marked this pull request as ready for review April 8, 2026 01:58
@vszakats vszakats changed the title pem: drop unnecessary include (WinCNG) pem: drop unnecessary wincng.h include Apr 8, 2026
@vszakats vszakats closed this in 734ec12 Apr 8, 2026
@vszakats
vszakats deleted the strange-include branch April 8, 2026 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant