]> git.lyx.org Git - features.git/blobdiff - src/insets/ExternalTransforms.cpp
Mark a number of coverity false positives.
[features.git] / src / insets / ExternalTransforms.cpp
index a3bf82df65a08b612cf191233526a57e2c711e22..ee31e1911f3820b934912ab267e7cb46df7f1b57 100644 (file)
@@ -310,6 +310,8 @@ string const sanitizeLatexOption(string const & input)
        // Strip any trailing commas
        // "...foo,,,]" -> "...foo" ("...foo,,," may be empty)
        static lyx::regex const back("^(.*[^,])?,*\\] *$");
+       // false positive from coverity
+       // coverity[CHECKED_RETURN]
        regex_match(output, what, back);
        if (!what[0].matched) {
                lyxerr << "Unable to sanitize LaTeX \"Option\": "