mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Context: Code simplification
This commit is contained in:
parent
8eb321d8f0
commit
5059897b50
1 changed files with 1 additions and 4 deletions
|
@ -220,10 +220,7 @@ int Context::initialize (int argc, const char** argv)
|
|||
if (combined.length ())
|
||||
combined += ' ';
|
||||
|
||||
if (a.attribute ("canonical") != "")
|
||||
combined += a.attribute ("canonical");
|
||||
else
|
||||
combined += a.attribute ("raw");
|
||||
combined += a.getToken ();
|
||||
|
||||
if (a.hasTag ("DEFAULT"))
|
||||
foundDefault = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue