cppcheck/htmlreport/example.xml
Steven Myint e183a826c5 Fix typo in getting line number
The closing parenthesis was in the wrong place resulting in the default
value not getting set. This adds a test case.
2013-10-07 06:38:49 -07:00

9 lines
491 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<results>
Checking example.cc...
<error file="example.cc" line="5" id="unassignedVariable" severity="style" msg="Variable &apos;x&apos; is not assigned a value."/>
<error file="example.cc" line="6" id="uninitvar" severity="error" msg="Uninitialized variable: x"/>
Checking usage of global functions..
<error id="missingInclude" severity="style" msg="Cppcheck cannot find all the include files (use --check-config for details)"/>
</results>