[cocci] Searching for unused input parameters with SmPL?
Markus Elfring <[email protected]>
| Newsgroups | fr.inria.cocci |
|---|---|
| Message-ID | <[email protected]> |
Hello, It can happen that input parameters would not be used within a function (or macro) implementation. https://stackoverflow.com/questions/3599160/how-can-i-suppress-unused-parameter-warnings-in-c https://clang.llvm.org/extra/clang-tidy/checks/misc/unused-parameters.html Can components of the Coccinelle software help any more to detect such technical details? Regards, Markus