mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-27 19:17:19 +02:00
Code Cleanup
- Marked legacy items, formatting cleanup.
This commit is contained in:
parent
4dd57a01bb
commit
5da1d4471e
2 changed files with 9 additions and 2 deletions
|
@ -88,6 +88,8 @@ std::string legacyCheckForDeprecatedVariables ()
|
|||
std::map <std::string, std::string>::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 <std::string, std::string> mapping;
|
||||
if (mapping.size () == 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue