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

Maybe Unitialized Warning #92

Open
Taose opened this issue Apr 9, 2017 · 0 comments
Open

Maybe Unitialized Warning #92

Taose opened this issue Apr 9, 2017 · 0 comments

Comments

@Taose
Copy link
Owner

Taose commented Apr 9, 2017

Couple of issues with xvector, not least because whoever coded this thinks "shortening" variable names into stuff that can't be explained is useful. This code needs to be de-mystified and that's going to take a bit of understanding.

engine/src/gfx/xvector.h:246:22: warning: ‘localDir.QVector::<anonymous>.QVector::<anonymous union>::k’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     r.j = a.k*b.i-a.i*b.k;
                   ~~~^~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant