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_File_Chooser.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FL/Fl_File_Chooser.H') diff --git a/FL/Fl_File_Chooser.H b/FL/Fl_File_Chooser.H index 5935edc28..57e0a97f9 100644 --- a/FL/Fl_File_Chooser.H +++ b/FL/Fl_File_Chooser.H @@ -142,7 +142,7 @@ public: void ok_label(const char *l); const char * ok_label(); void preview(int e); - int preview() const { return previewButton->value(); }; + int preview() const { return previewButton->value(); } private: void showHidden(int e); void remove_hidden_files(); -- cgit v1.2.3