summaryrefslogtreecommitdiff
path: root/test/utf8.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2021-08-27 14:52:43 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2021-08-27 14:52:43 +0200
commit6ac305a50804498b8c7ab00d23d2d4f3164b84fa (patch)
tree9093bd58f0babd89ce55a45cee7e53d5029a1e14 /test/utf8.cxx
parent23c54e7a4b82fe325d74a181060535b60243208d (diff)
Remove compiler warnings '-Wextra-semi' (see also PR #266)
I compiled with `-Wextra-semi -Werror=extra-semi` on Linux and Windows (cross-compiled on Linux) and removed all "extra semicolon" warnings I could find. I didn't check on macOS (yet). Note: Linux configured with and w/o Pango but not w/o Xft. Compilation with other options (e.g. Cairo) might still emit such warnings.
Diffstat (limited to 'test/utf8.cxx')
-rw-r--r--test/utf8.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/utf8.cxx b/test/utf8.cxx
index cfb41052a..f4b8ff3c7 100644
--- a/test/utf8.cxx
+++ b/test/utf8.cxx
@@ -480,7 +480,7 @@ void box_cb(Fl_Widget* o, void*) {
class right_left_input : public Fl_Input
{
public:
- right_left_input (int x, int y, int w, int h) : Fl_Input(x, y, w, h) {};
+ right_left_input (int x, int y, int w, int h) : Fl_Input(x, y, w, h) {}
void draw() {
if (type() == FL_HIDDEN_INPUT) return;
Fl_Boxtype b = box();