Skip to content

Fix minor warning#291

Merged
fredroy merged 1 commit intosofa-framework:masterfrom
hugtalbot:fix_warnings_202207
Aug 10, 2022
Merged

Fix minor warning#291
fredroy merged 1 commit intosofa-framework:masterfrom
hugtalbot:fix_warnings_202207

Conversation

@hugtalbot
Copy link
Contributor

No description provided.

p.def("toEulerVector", &Quat::toEulerVector);
p.def("buildRotationMatrix", [](Quat &self, Matrix4 &m) {
double tmp[4][4] = {0};
double tmp[4][4] = {{0}};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not even sure that it is required to initialize the array

@fredroy fredroy merged commit 25737bf into sofa-framework:master Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants