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

Unused variable s1 in glm/gtx/spline.inl #618

Closed
sevmeyer opened this issue Mar 30, 2017 · 1 comment
Closed

Unused variable s1 in glm/gtx/spline.inl #618

sevmeyer opened this issue Mar 30, 2017 · 1 comment
Assignees
Labels
Milestone

Comments

@sevmeyer
Copy link

In glm/gtx/spline.inl, the very useful catmullRom() and hermite() functions both declare a variable s1 without using it. This throws a spanner in the compilation, as gcc -Wall reports it as an error:

glm/gtx/spline.inl:16:32: error: unused variable ‘s1’ [-Werror=unused-variable]
   typename genType::value_type s1 = s;
                                ^
@Groovounet Groovounet self-assigned this Jun 4, 2017
@Groovounet Groovounet added the bug label Jun 4, 2017
@Groovounet Groovounet added this to the GLM 0.9.9 milestone Jun 4, 2017
@Groovounet
Copy link
Member

This issue is fixed in master branch for GLM 0.9.9 release.

Thanks for reporting,
Christophe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants