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];