mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
[clang-tidy] Convert 0/1 to false/true
Found with modernize-use-bool-literals Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
0344856d65
commit
54e40008c9
2 changed files with 2 additions and 2 deletions
|
@ -892,7 +892,7 @@ bool Lexer::isPath (std::string& token, Lexer::Type& type)
|
|||
std::size_t marker = _cursor;
|
||||
int slashCount = 0;
|
||||
|
||||
while (1)
|
||||
while (true)
|
||||
{
|
||||
if (_text[marker] == '/')
|
||||
{
|
||||
|
|
|
@ -291,7 +291,7 @@ static std::vector <Datetime> generateAllDueDates (const Task& templateTask)
|
|||
int recurrence_counter = 0;
|
||||
Datetime now;
|
||||
|
||||
while (1)
|
||||
while (true)
|
||||
{
|
||||
Datetime nextDue = generateNextDueDate (due, recur, lastN);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue