CmdNews: Prevent compiler warning

This commit is contained in:
Tomas Babej 2021-10-02 16:07:04 -04:00
parent cb4444098e
commit bd39e6b2e0
No known key found for this signature in database
GPG key ID: B0747C6578F7D2F5

View file

@ -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;