From 6ac305a50804498b8c7ab00d23d2d4f3164b84fa Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Fri, 27 Aug 2021 14:52:43 +0200 Subject: 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. --- FL/Fl_Paged_Device.H | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'FL/Fl_Paged_Device.H') diff --git a/FL/Fl_Paged_Device.H b/FL/Fl_Paged_Device.H index 16b41244c..cec476637 100644 --- a/FL/Fl_Paged_Device.H +++ b/FL/Fl_Paged_Device.H @@ -36,7 +36,7 @@ class FL_EXPORT Fl_Paged_Device : public Fl_Widget_Surface { protected: /** \brief The constructor */ - Fl_Paged_Device() : Fl_Widget_Surface(NULL) {}; + Fl_Paged_Device() : Fl_Widget_Surface(NULL) {} public: /** Possible page formats. @@ -99,7 +99,7 @@ public: */ static const page_format page_formats[NO_PAGE_FORMATS]; /** \brief The destructor */ - virtual ~Fl_Paged_Device() {}; + virtual ~Fl_Paged_Device() {} virtual int begin_job(int pagecount = 0, int *frompage = NULL, int *topage = NULL, char **perr_message = NULL); /** Synonym of begin_job(int pagecount, int *frompage, int *topage, char **perr_message). For API compatibility with FLTK 1.3.x */ -- cgit v1.2.3