From 5da1d4471e41c12c0927bb1ccb3c76556f9710dc Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 5 Jul 2014 09:39:26 -0400 Subject: [PATCH] Code Cleanup - Marked legacy items, formatting cleanup. --- src/feedback.cpp | 7 ++++++- src/legacy.cpp | 4 +++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/feedback.cpp b/src/feedback.cpp index 9870015fb..0af60f784 100644 --- a/src/feedback.cpp +++ b/src/feedback.cpp @@ -166,7 +166,12 @@ std::string taskDifferences (const Task& before, const Task& after) } //////////////////////////////////////////////////////////////////////////////// -std::string taskInfoDifferences (const Task& before, const Task& after, const std::string& dateformat, long& last_timestamp, const long current_timestamp) +std::string taskInfoDifferences ( + const Task& before, + const Task& after, + const std::string& dateformat, + long& last_timestamp, + const long current_timestamp) { // Attributes are all there is, so figure the different attribute names // between before and after. diff --git a/src/legacy.cpp b/src/legacy.cpp index dc0dd30fd..1d622dc4d 100644 --- a/src/legacy.cpp +++ b/src/legacy.cpp @@ -88,6 +88,8 @@ std::string legacyCheckForDeprecatedVariables () std::map ::const_iterator it; for (it = context.config.begin (); it != context.config.end (); ++it) { + // 2014-07-04: report.*.limit removed. + // report.*.annotations if (it->first.length () > 19 && it->first.substr (0, 7) == "report." && @@ -166,7 +168,7 @@ void legacyAttributeMap (std::string& name) //////////////////////////////////////////////////////////////////////////////// void legacyValueMap (const std::string& name, std::string& value) { - // One-time initialization value mapping. + // 2014-07-03: One-time initialization value mapping. static std::map mapping; if (mapping.size () == 0) {