mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-09 00:29:55 -06:00
When removing a watch on a variable, using the operator [] on the internal map will create an empty watch if the variable doesn't have any existing watches. Rather than creating this empty structure in the map, return if there isn't a watch on the variable already.
3.6 KiB
3.6 KiB