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. --- src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/drivers/OpenGL') diff --git a/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver.H b/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver.H index f240e769b..9932f0789 100644 --- a/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver.H +++ b/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver.H @@ -84,7 +84,7 @@ public: int descent(); // --- Fl_Bitmask create_bitmask(int w, int h, const uchar *array) { return 0L; } - void delete_bitmask(Fl_Bitmask bm) { }; + void delete_bitmask(Fl_Bitmask bm) { } }; #endif // FL_OPENGL_GRAPHICS_DRIVER_H -- cgit v1.2.3