mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-08 15:20:36 +02:00
CmdNews: Prevent compiler warning
This commit is contained in:
parent
cb4444098e
commit
bd39e6b2e0
1 changed files with 3 additions and 0 deletions
|
@ -506,6 +506,9 @@ int CmdNews::execute (std::string& output)
|
|||
auto words = Context::getContext ().cli2.getWords ();
|
||||
auto config = Context::getContext ().config;
|
||||
|
||||
// Supress compiler warning about unused argument
|
||||
output = "";
|
||||
|
||||
// TODO: 2.6.0 is the only version with explicit release notes, but in the
|
||||
// future we need to only execute yet unread release notes
|
||||
std::vector<NewsItem> items;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue