commit a763864e727243d8d3f8c07fa1f5ca2957b2ac30
Author: Scott Kostyshak <[email protected]>
Date: Fri Jun 27 00:19:52 2025 +0200
Remove redundant semicolons (-Wextra-semi)
These were spotted by Clang.
Consistent with 325c4055.
---
3rdparty/nod/nod.hpp | 2 +-
development/lyx-tester/lyxbuild | 2 +-
src/frontends/Painter.h | 2 +-
src/insets/Inset.h | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/3rdparty/nod/nod.hpp b/3rdparty/nod/nod.hpp
index 4cc18fe1b8..a05f28f8b3 100644
--- a/3rdparty/nod/nod.hpp
+++ b/3rdparty/nod/nod.hpp
@@ -20,7 +20,7 @@ namespace nod {
};
/// Deleter that doesn't delete
inline void no_delete(disconnector*){
- };
+ }
} // namespace detail
/// Base template for the signal class
diff --git a/development/lyx-tester/lyxbuild b/development/lyx-tester/lyxbuild
index 573fc92fea..f4caf78d45 100755
--- a/development/lyx-tester/lyxbuild
+++ b/development/lyx-tester/lyxbuild
@@ -584,7 +584,7 @@ else
# bisect a warning (e.g., from -pedantic), we need to remember to turn it
# on unconditionally.
if [ "${current_branch}" = "master" ]; then
- CPPFLAGS="-Werror;-Wextra;-pedantic"
+ CPPFLAGS="-Werror;-Wextra;-pedantic;-Wextra-semi"
else
CPPFLAGS=""
fi
diff --git a/src/frontends/Painter.h b/src/frontends/Painter.h
index da00e1ccd3..d10e4db8f6 100644
--- a/src/frontends/Painter.h
+++ b/src/frontends/Painter.h
@@ -152,7 +152,7 @@ public:
Direction const dir = Auto) = 0;
/// draw a char at position x, y (y is the baseline) using input method
virtual void text(int, int, char_type, InputMethod const *,
- pos_type const, Direction const = Auto) {};
+ pos_type const, Direction const = Auto) {}
/** draw a string at position x, y (y is the baseline). The
* text direction is enforced by the \c Font.
*/
diff --git a/src/insets/Inset.h b/src/insets/Inset.h
index 13df0e1306..1392223d5d 100644
--- a/src/insets/Inset.h
+++ b/src/insets/Inset.h
@@ -215,7 +215,7 @@ public:
virtual void draw(PainterInfo & pi, int x, int y) const = 0;
/// draw inset and update (xo, yo)-cache
virtual void draw(PainterInfo &, int, int, frontend::InputMethod const
*,
- pos_type const) const {};
+ pos_type const) const {}
/// draw inset selection if necessary
virtual void drawSelection(PainterInfo &, int, int) const {}
/// draw inset background if the inset has an own background and a
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs