commit 1a1a46a6d4d761f8ad8738067106a2aff94e48c9
Author: Jean-Marc Lasgouttes <lasgout...@lyx.org>
Date:   Thu Jul 3 23:23:53 2025 +0200

    Initialize properly variable
    
    Spotted by Coverity.
---
 src/mathed/MathFactory.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mathed/MathFactory.cpp b/src/mathed/MathFactory.cpp
index 65678ba5fc..d5962d462b 100644
--- a/src/mathed/MathFactory.cpp
+++ b/src/mathed/MathFactory.cpp
@@ -440,7 +440,7 @@ void initConflictList() {
        fs >> setw(65636);
        string line;
 
-       HullType currentMathHull;
+       HullType currentMathHull = HullNone;
        while (getline(fs, line)) {
 
                if (line.empty() || line[0] == '#')
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to