mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Nibbler: Remove unused function argument
This commit is contained in:
parent
0961a011f4
commit
96ca7eb5f2
4 changed files with 11 additions and 29 deletions
|
@ -180,10 +180,7 @@ bool Nibbler::getN (const int quantity, std::string& result)
|
|||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
bool Nibbler::getQuoted (
|
||||
char c,
|
||||
std::string& result,
|
||||
bool quote /* = false */)
|
||||
bool Nibbler::getQuoted (char c, std::string& result)
|
||||
{
|
||||
bool inquote = false;
|
||||
bool inescape = false;
|
||||
|
@ -210,9 +207,6 @@ bool Nibbler::getQuoted (
|
|||
|
||||
if (current == c && !inescape)
|
||||
{
|
||||
if (quote)
|
||||
result += current;
|
||||
|
||||
if (!inquote)
|
||||
{
|
||||
inquote = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue