[PATCH] xmllite: annotate fallthrough case (Coverity)
Marcus Meissner
marcus at jet.franken.de
Sat Oct 26 04:16:37 CDT 2013
1112859 Missing break in switch
It does not seem to be missing, so annotate it.
(Coverity will ignore a fallthrough if a comment is right before the end of the case)
Ciao, Marcus
---
dlls/xmllite/reader.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/xmllite/reader.c b/dlls/xmllite/reader.c
index 6d5c99b..dffe226 100644
--- a/dlls/xmllite/reader.c
+++ b/dlls/xmllite/reader.c
@@ -1501,6 +1501,7 @@ static HRESULT reader_parse_whitespace(xmlreader *reader)
reader_set_strvalue(reader, StringValue_LocalName, &strval_empty);
reader_set_strvalue(reader, StringValue_QualifiedName, &strval_empty);
reader_set_strvalue(reader, StringValue_Value, &strval_empty);
+ /* fallthrough */
case XmlReadResumeState_Whitespace:
{
strval value;
--
1.7.10.4
More information about the wine-patches
mailing list