Add wextra level warnings.
This commit is contained in:
parent
e559f9674d
commit
119ea6f2cc
62 changed files with 235 additions and 231 deletions
|
@ -113,7 +113,7 @@ const std::string& TemplateExpression::getContent() const
|
|||
return mContent;
|
||||
}
|
||||
|
||||
std::string TemplateExpression::render(TemplateSubstitutionContext* substitutions, TemplateNode* parentContext)
|
||||
std::string TemplateExpression::render(TemplateSubstitutionContext* substitutions, TemplateNode*)
|
||||
{
|
||||
if (substitutions && substitutions->hasSubstitution(mContent))
|
||||
{
|
||||
|
@ -143,7 +143,7 @@ bool TemplateTextBody::hasContent() const
|
|||
return !mContent.empty();
|
||||
}
|
||||
|
||||
std::string TemplateTextBody::render(TemplateSubstitutionContext* substitutions, TemplateNode* parentContext)
|
||||
std::string TemplateTextBody::render(TemplateSubstitutionContext*, TemplateNode*)
|
||||
{
|
||||
std::string content;
|
||||
for(unsigned idx=0; idx<mContent.size(); idx++)
|
||||
|
|
|
@ -191,7 +191,7 @@ void TemplateFile::onFoundBlock(const std::vector<std::string> args)
|
|||
mWorkingNode = temp;
|
||||
}
|
||||
|
||||
void TemplateFile::onFoundEndBlock(const std::vector<std::string> args)
|
||||
void TemplateFile::onFoundEndBlock(const std::vector<std::string>)
|
||||
{
|
||||
mWorkingNode = mWorkingNode->getParent();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue