Skip to content

Conversation

@pattakosn
Copy link
Contributor

Hi, i built it on windows with MSVC and on linux with gcc and clang and i had several compiler warnings.
They are not important but i find it very distracting when i am trying to find my own actual errors so i fixed those.

Or I hope i fixed them, i do not know if you like those fixes.

this silences warning for uninitialized variable use and safe guards against wrong data used
i do not know what was the original intention of this code but as the
warning said, it returned a reference to local data.
As it was not really used anywhere, i remove it.
I thought compilers today were smart enough to recognize that there is
no return after an assert(0) but apparently this is not so.
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