diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-07-14 12:49:38 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-07-14 12:49:38 +0300 |
commit | c183f0c94e40c240063a85212bb64637e37d3c04 (patch) | |
tree | c843c537f1c939007e9b2db1253865733a1e6c4c /intern/libmv | |
parent | 56c9c1ab43b563246e7ecb925d8c34f6ffa85395 (diff) |
Libmv: Fix some strict compiler warnings
One of them was a real bug!
Diffstat (limited to 'intern/libmv')
-rw-r--r-- | intern/libmv/libmv/multiview/projection.h | 2 | ||||
-rw-r--r-- | intern/libmv/libmv/numeric/numeric.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/intern/libmv/libmv/multiview/projection.h b/intern/libmv/libmv/multiview/projection.h index 3220bc2dbbc..8f304f31ec6 100644 --- a/intern/libmv/libmv/multiview/projection.h +++ b/intern/libmv/libmv/multiview/projection.h @@ -122,7 +122,7 @@ inline void Project(const Mat34 &P, const Vec3 &X, Vec3 *x) { inline void Project(const Mat34 &P, const Vec3 &X, Vec2 *x) { Vec3 hx; - Project(P, X, x); + Project(P, X, &hx); *x = hx.head<2>() / hx(2); } diff --git a/intern/libmv/libmv/numeric/numeric.h b/intern/libmv/libmv/numeric/numeric.h index 20a4a29e5ba..a42dab8c7a2 100644 --- a/intern/libmv/libmv/numeric/numeric.h +++ b/intern/libmv/libmv/numeric/numeric.h @@ -148,7 +148,7 @@ using Eigen::Matrix; // A = U * diag(s) * VT // template <typename TMat, typename TVec> -inline void SVD(TMat *A, Vec *s, Mat *U, Mat *VT) { +inline void SVD(TMat * /*A*/, Vec * /*s*/, Mat * /*U*/, Mat * /*VT*/) { assert(0); } |