From 83f3e1426157a3b482081f68724d3787f0428d73 Mon Sep 17 00:00:00 2001 From: Richard Roberts Date: Fri, 19 Nov 2010 20:36:13 +0000 Subject: [PATCH] Fixed some compile warnings --- CppUnitLite/TestResult.cpp | 2 +- gtsam/base/DenseQR.cpp | 5 ----- gtsam/geometry/projectiveGeometry.cpp | 9 --------- 3 files changed, 1 insertion(+), 15 deletions(-) diff --git a/CppUnitLite/TestResult.cpp b/CppUnitLite/TestResult.cpp index fc7832ef9..0f4b228d1 100644 --- a/CppUnitLite/TestResult.cpp +++ b/CppUnitLite/TestResult.cpp @@ -30,7 +30,7 @@ void TestResult::testsStarted () void TestResult::addFailure (const Failure& failure) { if (failure.lineNumber < 0) // allow for no line number - fprintf (stdout, "%s%s%s%s%ld%s%s\n", + fprintf (stdout, "%s%s%s%s\n", "Failure: \"", failure.message.asCharString (), "\" in ", diff --git a/gtsam/base/DenseQR.cpp b/gtsam/base/DenseQR.cpp index 4330dd3bf..c6b908c71 100644 --- a/gtsam/base/DenseQR.cpp +++ b/gtsam/base/DenseQR.cpp @@ -48,7 +48,6 @@ namespace gtsam { /* ************************************************************************* */ // check NaN in the input matrix void CheckNaN(int m, int n, double *A, const char* msg) { - bool hasNaN = false; for(int i=0; i a, _a; - static Index<3, 'b'> b, _b; - static Index<3, 'c'> c, _c; - static Index<3, 'd'> d, _d; - static Index<3, 'd'> e, _e; - static Index<3, 'f'> f, _f; - static Index<3, 'g'> g, _g; - /* ************************************************************************* */ Point2h point2h(double x, double y, double w) { double data[3];