https://bugs.kde.org/show_bug.cgi?id=359000
Sergio Martins <smart...@kde.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Latest Commit| |http://commits.kde.org/claz | |y/ff28b66ce5ce8b6f76487c62c | |21063676df41cc0 Resolution|--- |FIXED --- Comment #5 from Sergio Martins <smart...@kde.org> --- Git commit ff28b66ce5ce8b6f76487c62c21063676df41cc0 by Sergio Martins. Committed on 28/02/2016 at 13:32. Pushed by smartins into branch 'master'. Introduce unused-non-trivial-variable check Because the compilers don't warn for unused non-trivial Qt value classes. This check has a whitelist of classes and warns when they there are unused variables. M +2 -1 CMakeLists.txt A +8 -0 checks/README-unused-non-trivial-variable A +95 -0 checks/unused-non-trivial-variable.cpp [License: LGPL (v2+)] A +49 -0 checks/unused-non-trivial-variable.h [License: LGPL (v2+)] M +11 -11 tests/clazy/test_requested_checks.sh.expected A +7 -0 tests/unused-non-trivial-variable/config.json A +36 -0 tests/unused-non-trivial-variable/main.cpp [License: UNKNOWN] * A +2 -0 tests/unused-non-trivial-variable/main.cpp.expected The files marked with a * at the end have a non valid license. Please read: http://techbase.kde.org/Policies/Licensing_Policy and use the headers which are listed at that page. http://commits.kde.org/clazy/ff28b66ce5ce8b6f76487c62c21063676df41cc0 -- You are receiving this mail because: You are watching all bug changes.