Skip to content

Commit

Permalink
fix output_formatter for UCL build
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz authored and arogge committed Nov 2, 2022
1 parent 0b55e78 commit 921f1a4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions core/src/lib/output_formatter.cc
Expand Up @@ -2,7 +2,7 @@
BAREOS® - Backup Archiving REcovery Open Sourced
Copyright (C) 2016-2016 Planets Communications B.V.
Copyright (C) 2015-2021 Bareos GmbH & Co. KG
Copyright (C) 2015-2022 Bareos GmbH & Co. KG
This program is Free Software; you can redistribute it and/or
modify it under the terms of version three of the GNU Affero General Public
Expand Down Expand Up @@ -785,7 +785,8 @@ bool OutputFormatter::ProcessTextBuffer()
return retval;
}

void OutputFormatter::message(const char* type, PoolMem& message)
void OutputFormatter::message([[maybe_unused]] const char* type,
PoolMem& message)
{
switch (api) {
#if HAVE_JANSSON
Expand Down Expand Up @@ -820,7 +821,7 @@ void OutputFormatter::SendBuffer()
}
}

void OutputFormatter::FinalizeResult(bool result)
void OutputFormatter::FinalizeResult([[maybe_unused]] bool result)
{
switch (api) {
#if HAVE_JANSSON
Expand Down

0 comments on commit 921f1a4

Please sign in to comment.