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

Coverity patches #403

Merged
merged 3 commits into from
Apr 18, 2014
Merged

Coverity patches #403

merged 3 commits into from
Apr 18, 2014

Conversation

dpogue
Copy link
Member

@dpogue dpogue commented Apr 18, 2014

Copy of #396 with the brace formatting fixed.

There were two terrible things here:
* Some nasty pointer-based casting
* Storing references to temporaries

Unfortunately, storing addrs of temps was happening through a helper
function, so VS won't warn here. I think I caught all the cases where
those functions were being used wrongly, but I can't be sure until
coverity runs on this commit.
dpogue added a commit that referenced this pull request Apr 18, 2014
@dpogue dpogue merged commit fdd8279 into H-uru:master Apr 18, 2014
@dpogue dpogue deleted the coverity_patches branch April 19, 2014 06:25
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.

None yet

2 participants