]> git.lyx.org Git - lyx.git/blobdiff - src/VCBackend.cpp
Cmake export tests: Ignore missing glyphs on some tests
[lyx.git] / src / VCBackend.cpp
index e4104bd0b0a9f0a8365f0c4cd13c97be0c6eaa9d..a152a28d101e11f209f202243f6c0b011a91d2f3 100644 (file)
@@ -569,10 +569,10 @@ void CVS::scanMaster()
                if (contains(line, tmpf)) {
                        // Ok extract the fields.
                        smatch sm;
-
-                       // false positive from coverity
-                       // coverity[CHECKED_RETURN]
-                       regex_match(line, sm, reg);
+                       if (!regex_match(line, sm, reg)) {
+                               LYXERR(Debug::LYXVC, "\t  Cannot parse line. Skipping.");
+                               continue;
+                       }
 
                        //sm[0]; // whole matched string
                        //sm[1]; // filename