mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Datafile: Removed compiler warning
This commit is contained in:
parent
c2a10e6848
commit
b41b56c00c
1 changed files with 6 additions and 1 deletions
|
@ -188,16 +188,21 @@ void Datafile::load_intervals ()
|
|||
|
||||
for (auto& line : _lines)
|
||||
{
|
||||
// "inc ..."
|
||||
if (line[0] == 'i')
|
||||
{
|
||||
Interval i;
|
||||
i.initialize (line);
|
||||
_intervals.push_back (i);
|
||||
}
|
||||
|
||||
// "exc ..."
|
||||
else if (line[0] == 'e')
|
||||
; // TODO Exclusions.
|
||||
else
|
||||
; // TODO Ignore blank lines?
|
||||
{
|
||||
// TODO Ignore blank lines?
|
||||
}
|
||||
}
|
||||
|
||||
_intervals_loaded = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue