From 4062b960c750b548d660a585322c0b6af01c7ed4 Mon Sep 17 00:00:00 2001 From: matlabbe Date: Thu, 22 Sep 2016 14:35:37 -0400 Subject: [PATCH] fixed a compilation warning --- corelib/src/clams/slam_calibrator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/corelib/src/clams/slam_calibrator.cpp b/corelib/src/clams/slam_calibrator.cpp index 767cf009..3d32d1fc 100644 --- a/corelib/src/clams/slam_calibrator.cpp +++ b/corelib/src/clams/slam_calibrator.cpp @@ -53,7 +53,7 @@ namespace clams // -- For all selected frames, accumulate training examples // in the distortion model. - size_t counts; + size_t counts = 0; //#pragma omp parallel for // error on linux for(std::map::const_iterator iter = trajectory.begin(); iter != trajectory.end(); ++iter) {