mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +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,8 +1111,10 @@ void TDB::merge (const std::string& mergeFile)
|
|||
rit = r.begin ();
|
||||
lit = l.begin ();
|
||||
|
||||
rline = *rit;
|
||||
lline = *lit;
|
||||
if (rit != r.end())
|
||||
rline = *rit;
|
||||
if (lit != l.end())
|
||||
lline = *lit;
|
||||
|
||||
///////////////////////////////////////
|
||||
// find the branch-off point:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue