Skip to content

Commit 86109d9

Browse files
committed
unusedStructMember [skip ci]
1 parent c4991c2 commit 86109d9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎man/checkers/unusedStructMember.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99

1010
A struct/class/union member is never referenced anywhere in the file.
1111

12+
This checker performs a single-file analysis, it checks structs declared in the source file. This
13+
checker does not work properly if you analyze a header file directly. You are not recommended to
14+
run cppcheck on header files directly.
15+
1216
## Motivation
1317

1418
An unused struct member usually means the field can be removed, or - just as often - that it *should*

0 commit comments

Comments
 (0)