diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-12-16 14:07:03 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-12-16 14:07:08 +0100 |
| commit | ca028872e7a33376576eb5b039e7eafedaad90e9 (patch) | |
| tree | 030ebdba6cabcd2d6a1825c19a200a3e7d747803 | |
| parent | bdbd3497d41cc1f475004f5c7e180de395ed8d5b (diff) | |
#868: Suppress warning about unused private members of Fl_Shortcut_Button
| -rw-r--r-- | src/Fl_Shortcut_Button.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Fl_Shortcut_Button.cxx b/src/Fl_Shortcut_Button.cxx index a9002d30f..9f19fa0b4 100644 --- a/src/Fl_Shortcut_Button.cxx +++ b/src/Fl_Shortcut_Button.cxx @@ -55,6 +55,11 @@ Fl_Shortcut_Button::Fl_Shortcut_Button(int X,int Y,int W,int H, const char* l) box(FL_DOWN_BOX); selection_color(FL_SELECTION_COLOR); type(FL_TOGGLE_BUTTON); + // suppress warning on unused private members. I keep these around in case + // we decide to activate this API again without changing the ABI. + (void)default_shortcut_; + (void)default_set_; + } /** |
