summaryrefslogtreecommitdiffstats
path: root/Tests/FindGTK2
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2021-10-26 16:51:44 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2021-10-26 16:51:44 (GMT)
commit69f95cf1d93945ace09ee9a87c0185b1ee6e4a47 (patch)
treead62afb6d54b53c5326a471088caf03a5e19c7f3 /Tests/FindGTK2
parentfb6ab54076217452e673ad310faba2a1a993366f (diff)
downloadCMake-69f95cf1d93945ace09ee9a87c0185b1ee6e4a47.zip
CMake-69f95cf1d93945ace09ee9a87c0185b1ee6e4a47.tar.gz
CMake-69f95cf1d93945ace09ee9a87c0185b1ee6e4a47.tar.bz2
cmCTestRunTest: fix modifying non-existent envvars
When appending or modifying to a variable that has not been modified before, the iterator was not valid, but it was used to insert into the map again. Instead, just use indexing into the map since we know it will exist by the end of the function anyways. Fixes: #22796
Diffstat (limited to 'Tests/FindGTK2')
0 files changed, 0 insertions, 0 deletions