Skip to content

src: improve MSVC C4701 warning fix - #1086

Closed
vszakats wants to merge 1 commit into
libssh2:masterfrom
vszakats:bogus-uninit-warn-refix
Closed

vszakats wants to merge 1 commit into
libssh2:masterfrom
vszakats:bogus-uninit-warn-refix

Conversation

@vszakats

@vszakats vszakats commented Jun 5, 2023 •

Copy link
Copy Markdown
Member

Simplify the code to avoid this warning. This might also help avoiding
it with other compilers.

Improves 02f2700 #876
Might fix #1083
Closes #1086

@vszakats vszakats changed the title openssl: try another fix for MSVC C4701 warning openssl: improve MSVC C4701 warning fix Jun 5, 2023
@vszakats vszakats changed the title openssl: improve MSVC C4701 warning fix src: improve MSVC C4701 warning fix Jun 5, 2023
@vszakats
vszakats force-pushed the bogus-uninit-warn-refix branch from 36e36d8 to d2573ca Compare June 5, 2023 22:15
Simplify the code to avoid this warning. This might also
help to avoid this with other compilers.

Improves 02f2700 libssh2#876
Might fix libssh2#1083
Closes libssh2#1086
@vszakats
vszakats force-pushed the bogus-uninit-warn-refix branch from d2573ca to 009d7fe Compare June 5, 2023 23:46
@vszakats vszakats closed this in 8b92499 Jun 6, 2023
@vszakats
vszakats deleted the bogus-uninit-warn-refix branch June 6, 2023 12:15
lampmanyao pushed a commit to lampmanyao/libssh2 that referenced this pull request Jul 16, 2023
Simplify the code to avoid this warning. This might also help avoiding
it with other compilers (e.g. gcc?).

Improves 02f2700 libssh2#876
Might fix libssh2#1083
Closes libssh2#1086
agreppin pushed a commit to agreppin/libssh2 that referenced this pull request Jul 14, 2024
Simplify the code to avoid this warning. This might also help avoiding
it with other compilers (e.g. gcc?).

Improves 02f2700 libssh2#876
Might fix libssh2#1083
Closes libssh2#1086
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.

[OpenSSL]:'may be used uninitialized' warning

1 participant