mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-20 22:33:08 +02:00
Merge
- Fixed segmentation fault if undo.data is empty
This commit is contained in:
parent
87ce13c8e0
commit
d362088305
1 changed files with 4 additions and 2 deletions
|
@ -1111,7 +1111,9 @@ void TDB::merge (const std::string& mergeFile)
|
||||||
rit = r.begin ();
|
rit = r.begin ();
|
||||||
lit = l.begin ();
|
lit = l.begin ();
|
||||||
|
|
||||||
|
if (rit != r.end())
|
||||||
rline = *rit;
|
rline = *rit;
|
||||||
|
if (lit != l.end())
|
||||||
lline = *lit;
|
lline = *lit;
|
||||||
|
|
||||||
///////////////////////////////////////
|
///////////////////////////////////////
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue