summaryrefslogtreecommitdiffstats
path: root/Tests/VariableUnusedViaUnset
Commit message (Collapse)AuthorAgeFilesLines
* cmake: Remove broken '--warn-unused-vars' optionBrad King2020-06-291-8/+0
| | | | | | | | | | | | | This option has been broken since commit b9f9915516 (cmMakefile: Remove VarUsageStack., 2015-05-17, v3.3.0-rc1~52^2). That commit removed the check that an initialized variable has actually been used and caused the option to warn on every variable ever set. This was not caught by the test suite because the test for the feature only checked that warnings appear when needed and not that they do not appear when not needed. The option was never very practical to use. Remove it to avoid the runtime cost of usage tracking and checks for every variable (which we were doing even when the option was not used).
* Fix typo in VariableUnusedViaUnset testBen Boeckel2010-09-171-1/+1
|
* Add test for usage checks via unsetBen Boeckel2010-09-161-0/+8