Skip to content
Snippets Groups Projects
Commit d6a1bc24 authored by Vladyslav Usenko's avatar Vladyslav Usenko
Browse files

Merge branch 'fix-warning' into 'master'

fix maybe-uninitialized warning for GCC9

See merge request basalt/basalt-headers!11
parents 16f58b0d e891ee2b
No related branches found
No related tags found
No related merge requests found
Pipeline #159550825 passed
......@@ -79,6 +79,11 @@ xenial-release-compile:
<<: *compile_and_test_definition
image: vladyslavusenko/b_image_xenial:latest
focal-release-compile:
<<: *prepare_docker_definition
<<: *compile_and_test_definition
image: vladyslavusenko/b_image_focal:latest
mojave-relwithdebinfo-compile:
<<: *compile_and_test_definition
tags: [macos, "10.14"]
......
......@@ -152,7 +152,7 @@ void test_unproject_jacobians() {
test_jacobian(
"d_r_d_p", Jp,
[&](const Vec2 &x) {
Vec4 res;
Vec4 res = Vec4::Zero();
cam.unproject(p + x, res);
return res;
},
......@@ -161,7 +161,7 @@ void test_unproject_jacobians() {
test_jacobian(
"d_r_d_param", Jparam,
[&](const VecN &x) {
Vec4 res;
Vec4 res = Vec4::Zero();
CamT cam1 = cam;
cam1 += x;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment