diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-07-28 16:40:09 +0200 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-08-07 16:50:35 +0200 |
commit | 1e2f9219883452ef7da37c3c984b3e3d2939656b (patch) | |
tree | d1414af1325ab9f90e37305800e3a748d90ddf9d /dw/fltkcomplexbutton.cc | |
parent | 0220c850a043af46385d6cd6cf4ffa9ceb5696e3 (diff) |
Fix pedantic warnings
Reviewed-by: dogma
Diffstat (limited to 'dw/fltkcomplexbutton.cc')
-rw-r--r-- | dw/fltkcomplexbutton.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dw/fltkcomplexbutton.cc b/dw/fltkcomplexbutton.cc index 76af3713..e287b689 100644 --- a/dw/fltkcomplexbutton.cc +++ b/dw/fltkcomplexbutton.cc @@ -63,6 +63,7 @@ int ComplexButton::handle(int event) { return 1; case FL_PUSH: if (Fl::visible_focus() && handle(FL_FOCUS)) Fl::focus(this); + /* fallthrough */ case FL_DRAG: if (Fl::event_inside(this)) { newval = !oldval; @@ -107,6 +108,7 @@ int ComplexButton::handle(int event) { value(0); return 1; } + /* fallthrough */ default: return 0; } |