Skip to content

Commit fbef688

Browse files
committed
silence unused field warning in JavadocVisitor and SingleFileBuilder
1 parent eb76362 commit fbef688

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/-bitcode/BitcodeGenerator.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ class MultiFileBuilder : public Corpus::Visitor
111111
class SingleFileBuilder : public Corpus::Visitor
112112
{
113113
Corpus const& corpus_;
114-
Reporter& R_;
114+
[[maybe_unused]] Reporter& R_;
115115
std::ostream& os_;
116116

117117
public:

source/AST/ParseJavadoc.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ class JavadocVisitor
397397
private:
398398
FullComment const* FC_;
399399
ASTContext const& ctx_;
400-
Reporter& R_;
400+
[[maybe_unused]] Reporter& R_;
401401
AnyList<Javadoc::Block> blocks_;
402402
AnyList<Javadoc::Param> params_;
403403
Javadoc::Paragraph* para_ = nullptr;

0 commit comments

Comments
 (0)