Add wextra level warnings.

This commit is contained in:
James Grogan 2023-01-23 11:55:58 +00:00
parent e559f9674d
commit 119ea6f2cc
62 changed files with 235 additions and 231 deletions

View file

@ -35,7 +35,7 @@ void TextEditorView::initialize()
saveButton->setLabel("Save");
saveButton->setBackground(Theme::Sys::Color::Primary);
saveButton->setMargin(2);
auto onSave = [this](Widget* self){
auto onSave = [this](Widget*){
if(mController && mTextBox)
{
mController->SetContent(mTextBox->getContent());
@ -47,7 +47,7 @@ void TextEditorView::initialize()
auto clearButton = Button::Create();
clearButton->setLabel("Clear");
clearButton->setMargin(2);
auto onClear = [this](Widget* self){
auto onClear = [this](Widget*){
if(mController && mTextBox)
{
mController->OnClear();
@ -59,7 +59,7 @@ void TextEditorView::initialize()
auto loadButton = Button::Create();
loadButton->setLabel("Load");
loadButton->setMargin(2);
auto onLoad = [this](Widget* self){
auto onLoad = [this](Widget*){
if(mController && mTextBox)
{
mController->OnLoad();