Skip to content

Commit 2426b60

Browse files
committed
[ntuple] Fix unused parameter warning
Visible in builds where NDEBUG is not defined.
1 parent c3cd628 commit 2426b60

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

tree/ntupleutil/inc/ROOT/RNTupleInspector.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ public:
502502
/////////////////////////////////////////////////////////////////////////////
503503
/// \brief Print a string that represents the tree of the (sub)fields and columns of an RNTuple in a format which a
504504
/// performance profile visualizer can render
505-
void PrintSchemaProfile([[maybe_unused]] ESchemaProfileFormat format, std::ostream &output = std::cout) const;
505+
void PrintSchemaProfile(ESchemaProfileFormat format, std::ostream &output = std::cout) const;
506506
};
507507
} // namespace Experimental
508508
} // namespace ROOT

tree/ntupleutil/src/RNTupleInspector.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,8 @@ static void PrintSpeedscopeFrames(const std::vector<SpeedscopeFrame> &frames, st
631631
}
632632
} // namespace
633633

634-
void ROOT::Experimental::RNTupleInspector::PrintSchemaProfile(ESchemaProfileFormat format, std::ostream &output) const
634+
void ROOT::Experimental::RNTupleInspector::PrintSchemaProfile([[maybe_unused]] ESchemaProfileFormat format,
635+
std::ostream &output) const
635636
{
636637
// There is only one format at the moment
637638
assert(format == ESchemaProfileFormat::kSpeedscopeJSON);

0 commit comments

Comments
 (0)