<table><tr><td style="">cullmann added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D17432">View Revision</a></tr></table><br /><div><div><p>;=)</p>
<p>If cppcheck works at least a bit like other checkers (like the one I work on, too: <a href="https://www.absint.com/rulechecker/" class="remarkup-link" target="_blank" rel="noreferrer">https://www.absint.com/rulechecker/</a> ), it should work on header files, too, and not only on compilation units.</p>
<p>The question is, how conservative some checks are, e.g. this "unused" seems a bit adventurous to assume a public method is unused.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R40 Kate</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D17432">https://phabricator.kde.org/D17432</a></div></div><br /><div><strong>To: </strong>gregormi, Kate, cullmann<br /><strong>Cc: </strong>cullmann, kwrite-devel, hase, michaelh, ngraham, demsking, sars, dhaumann<br /></div>