summaryrefslogtreecommitdiffstats
path: root/Source/cmVariableWatch.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-05-05 21:25:24 (GMT)
committerBrad King <brad.king@kitware.com>2014-05-22 14:36:49 (GMT)
commitd849800351a6ed91f3d6b149bb9e50aaa4c42a99 (patch)
tree0d5304b770ede7ac3b76189c663edb0bdf252fec /Source/cmVariableWatch.cxx
parent96e9eb1766261605ebc97009d6ace20214eaa9a4 (diff)
downloadCMake-d849800351a6ed91f3d6b149bb9e50aaa4c42a99.zip
CMake-d849800351a6ed91f3d6b149bb9e50aaa4c42a99.tar.gz
CMake-d849800351a6ed91f3d6b149bb9e50aaa4c42a99.tar.bz2
variable_watch: Remove undocumented and redundant access type
The ALLOWED_UNKNOWN_VARIABLE_READ_ACCESS access type was switched on an undocumented variable and its lookup caused an unnecessary performance impact. Remove it.
Diffstat (limited to 'Source/cmVariableWatch.cxx')
-rw-r--r--Source/cmVariableWatch.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/cmVariableWatch.cxx b/Source/cmVariableWatch.cxx
index 8ad6fce..cb6cb12 100644
--- a/Source/cmVariableWatch.cxx
+++ b/Source/cmVariableWatch.cxx
@@ -16,7 +16,6 @@ static const char* const cmVariableWatchAccessStrings[] =
"READ_ACCESS",
"UNKNOWN_READ_ACCESS",
"UNKNOWN_DEFINED_ACCESS",
- "ALLOWED_UNKNOWN_READ_ACCESS",
"MODIFIED_ACCESS",
"REMOVED_ACCESS",
"NO_ACCESS"