Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uninitialized member variables #1809

Merged
merged 6 commits into from
Jun 21, 2024

Conversation

fwesselm
Copy link
Contributor

When compiling on Windows with the /W4 flag, Visual Studio complains about uninitialized member variables:

Warning C26495 Variable is uninitialized. Always initialize a member variable (type.6).

I fixed some of these by updating / adding constructors.

The fact that some member variables are uninitialized has not created any issues. As expected, a testing run with 800+ problems showed that HiGHS' behavior is not affected by the code changes in this PR.

@jajhall
Copy link
Member

jajhall commented Jun 21, 2024

Thanks. Presumably all the values are initialised elsewhere, otherwise valgrind would fail

@jajhall jajhall merged commit b3a96cb into ERGO-Code:latest Jun 21, 2024
110 checks passed
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.

2 participants