commit cd5fb84098f46738a45699aeb1491b52282e3c2d
Author: Scott Kostyshak <[email protected]>
Date: Sat Jul 5 20:04:28 2025 +0200
Fix the last remaining -Wmissing-noreturn
lyxbreaker() calls LBUFERR() which calls doBufErr() which was previously
marked as [[noreturn] at 37b9655f.
---
src/CoordCache.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/CoordCache.h b/src/CoordCache.h
index 8893aebe48..c732e6f042 100644
--- a/src/CoordCache.h
+++ b/src/CoordCache.h
@@ -38,7 +38,7 @@ class MathData;
#define ASSERT_HAS_POS(thing, hint)
#endif
-void lyxbreaker(void const * data, const char * hint, int size);
+[[noreturn]] void lyxbreaker(void const * data, const char * hint, int size);
struct Geometry {
Point pos = {-10000, -10000 };
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs