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

Fix error C4703 on VS 2019 build #3

Merged
merged 1 commit into from Jan 9, 2020
Merged

Fix error C4703 on VS 2019 build #3

merged 1 commit into from Jan 9, 2020

Conversation

ghost
Copy link

@ghost ghost commented Jan 9, 2020

The following errors occur when building the library in Visual Studio 2019 (cl):

expand.c(410): error C4703: potentially uninitialized local pointer variable 'm_inf' used
expand.c(539): error C4703: potentially uninitialized local pointer variable 'm_inf' used
expand.c(1909): error C4703: potentially uninitialized local pointer variable 'loc' used
expand.c(1909): error C4703: potentially uninitialized local pointer variable 'locs' used
expand.c(1626): error C4703: potentially uninitialized local pointer variable 'inner' used
expand.c(1234): error C4703: potentially uninitialized local pointer variable 'loc_tab' used

Initializing the pointers with NULL resolves the error.

@ghost ghost mentioned this pull request Jan 9, 2020
@pepone pepone merged commit e6abf9a into zeroc-ice:master Jan 9, 2020
@pepone
Copy link
Member

pepone commented Jan 9, 2020

Thanks for the fix Nik

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