Skip to content

Commit 7a4d65f

Browse files
committed
Add some restrictions
1 parent f13b1a0 commit 7a4d65f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

cppcheck-errors.rng

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
<element name="error">
1616
<optional>
1717
<attribute name="cwe">
18-
<data type="integer"/>
18+
<data type="integer">
19+
<param name="minExclusive">0</param>
20+
</data>
1921
</attribute>
2022
</optional>
2123
<attribute name="id">
@@ -46,7 +48,9 @@
4648
<data type="string"/>
4749
</attribute>
4850
<attribute name="line">
49-
<data type="integer"/>
51+
<data type="integer">
52+
<param name="minInclusive">0</param>
53+
</data>
5054
</attribute>
5155
<optional>
5256
<attribute name="info">

0 commit comments

Comments
 (0)