From bd39e6b2e00d23a3940482343fb14a24112a41a6 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Sat, 2 Oct 2021 16:07:04 -0400 Subject: [PATCH] CmdNews: Prevent compiler warning --- src/commands/CmdNews.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/commands/CmdNews.cpp b/src/commands/CmdNews.cpp index 17317a59b..9610e1958 100644 --- a/src/commands/CmdNews.cpp +++ b/src/commands/CmdNews.cpp @@ -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 items;