mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-01 09:17:19 +02:00
Parser
- In ::findBinary, it is not necessary to prune branches.
This commit is contained in:
parent
62725c97e4
commit
9f9c07a955
1 changed files with 0 additions and 1 deletions
|
@ -339,7 +339,6 @@ void Parser::findBinary ()
|
||||||
if (_tree->_branches.size () >= 1)
|
if (_tree->_branches.size () >= 1)
|
||||||
{
|
{
|
||||||
_tree->_branches[0]->unTag ("?");
|
_tree->_branches[0]->unTag ("?");
|
||||||
_tree->_branches[0]->removeAllBranches ();
|
|
||||||
_tree->_branches[0]->tag ("BINARY");
|
_tree->_branches[0]->tag ("BINARY");
|
||||||
std::string binary = _tree->_branches[0]->attribute ("raw");
|
std::string binary = _tree->_branches[0]->attribute ("raw");
|
||||||
std::string::size_type slash = binary.rfind ('/');
|
std::string::size_type slash = binary.rfind ('/');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue