Skip to content
This repository has been archived by the owner on Dec 16, 2019. It is now read-only.

Guard against returning uninitialized variables in switch-cases #860

Merged
merged 1 commit into from
Sep 5, 2018

Conversation

dktapps
Copy link
Contributor

@dktapps dktapps commented Apr 24, 2018

VS2017 code analysis complains about "Using uninitialized memory 'retval'". While these cases should theoretically never get hit, they shouldn't be returning uninitialized variables anyway.

VS2017 code analysis complains about "Using uninitialized memory 'retval'". While these cases should theoretically never get hit, they shouldn't be returning uninitialized variables anyway.
@sirsnyder sirsnyder merged commit 236b992 into krakjoe:master Sep 5, 2018
@sirsnyder
Copy link
Collaborator

Thanks @dktapps !

@dktapps dktapps deleted the vs-warnings branch January 11, 2019 22:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants