mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-20 04:13:07 +02:00
CFS, Msg, ViewText: Code cleanup
This commit is contained in:
parent
a1dbb0c294
commit
5666feaab9
3 changed files with 3 additions and 6 deletions
|
@ -546,10 +546,8 @@ void File::write_raw (const std::string& line)
|
|||
open ();
|
||||
|
||||
if (_fh)
|
||||
{
|
||||
fputs (line.c_str (), _fh);
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
void File::truncate ()
|
||||
|
|
|
@ -75,7 +75,6 @@ std::string Msg::serialize () const
|
|||
output += i.first + ": " + i.second + "\n";
|
||||
|
||||
output += "\n" + _payload + "\n";
|
||||
|
||||
return output;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue