commit b2fd2f20c9eba2db1f6e6155186a77c4ac0df21c
Author: Kornel Benko <[email protected]>
Date:   Fri Jul 11 12:05:24 2025 +0200

    Proper fallthrough comment
    
    Compiler error
            this statement may fall through [-Werror=implicit-fallthrough=]
---
 src/LyXRC.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/LyXRC.cpp b/src/LyXRC.cpp
index 0fe91a2be1..650cacfbc1 100644
--- a/src/LyXRC.cpp
+++ b/src/LyXRC.cpp
@@ -2106,11 +2106,11 @@ void LyXRC::write(ostream & os, bool 
ignore_system_lyxrc, string const & name) c
                }
                if (tag != RC_LAST)
                        break;
-               // fall through
 
-       os << "\n#\n"
+               os << "\n#\n"
                << "# COLOR SECTION ###################################\n"
                << "#\n\n";
+               // fall through
 
        case RC_UI_THEME:
                if (ignore_system_lyxrc ||
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to