diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-06-22 16:27:35 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-06-22 16:27:35 +0200 |
commit | 1b6fa30e589a006f0ca8c699134912fae887da3b (patch) | |
tree | f8103fc5051b92c2d6771f116361540057b41198 | |
parent | 61b4da447d4b8652be3c327eb233656fd235fece (diff) | |
download | serenity-1b6fa30e589a006f0ca8c699134912fae887da3b.zip |
WidgetGallery: Fix compiler warnings.
-rw-r--r-- | Demos/WidgetGallery/main.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Demos/WidgetGallery/main.cpp b/Demos/WidgetGallery/main.cpp index a97d08899f..3eb581eb86 100644 --- a/Demos/WidgetGallery/main.cpp +++ b/Demos/WidgetGallery/main.cpp @@ -29,14 +29,17 @@ int main(int argc, char** argv) main_widget->layout()->set_margins({ 4, 4, 4, 4 }); auto* checkbox1 = new GCheckBox("GCheckBox 1", main_widget); + (void)checkbox1; auto* checkbox2 = new GCheckBox("GCheckBox 2", main_widget); checkbox2->set_enabled(false); auto* radio1 = new GRadioButton("GRadioButton 1", main_widget); + (void)radio1; auto* radio2 = new GRadioButton("GRadioButton 2", main_widget); radio2->set_enabled(false); auto* button1 = new GButton("GButton 1", main_widget); + (void)button1; auto* button2 = new GButton("GButton 2", main_widget); button2->set_enabled(false); @@ -48,6 +51,7 @@ int main(int argc, char** argv) }); auto* label1 = new GLabel("GLabel 1", main_widget); + (void)label1; auto* label2 = new GLabel("GLabel 2", main_widget); label2->set_enabled(false); @@ -58,10 +62,12 @@ int main(int argc, char** argv) textbox2->set_enabled(false); auto* spinbox1 = new GSpinBox(main_widget); + (void)spinbox1; auto* spinbox2 = new GSpinBox(main_widget); spinbox2->set_enabled(false); auto* slider1 = new GSlider(main_widget); + (void)slider1; auto* slider2 = new GSlider(main_widget); slider2->set_enabled(false); |