cppcheck/rules/unused-deref.xml

10 lines
274 B
XML
Raw Permalink Normal View History

<?xml version="1.0"?>
<rule version="1">
<pattern> [;{}] [*] \w+? (\+\+|\-\-) ; </pattern>
<message>
<id>UnusedDeref</id>
<severity>style</severity>
<summary>Redundant * found, "*p++" is the same as "*(p++)".</summary>
</message>
</rule>