mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Resolve most compiler warnings
This commit is contained in:
parent
b8105812fc
commit
7a64c19641
8 changed files with 34 additions and 34 deletions
|
@ -102,7 +102,7 @@ bool TF2::get (int id, Task& task)
|
|||
// pending.data file, the task in question cannot appear earlier than line
|
||||
// (id - 1) in the file. It can, however, appear significantly later because
|
||||
// it is not known how recent a GC operation was run.
|
||||
for (int i = id - 1; i < _tasks.size (); ++i)
|
||||
for (unsigned int i = id - 1; i < _tasks.size (); ++i)
|
||||
{
|
||||
if (_tasks[i].id == id)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue