summaryrefslogtreecommitdiffstats
path: root/Help/guide/tutorial/Step9/MathFunctions/MathFunctions.h
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2019-05-14 16:23:41 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2019-05-14 18:00:13 (GMT)
commitdfa24355eacbf99cf98bbf4027b8188c13ac7154 (patch)
tree971b935dc17e9c470cf34cada4215bfc49e18994 /Help/guide/tutorial/Step9/MathFunctions/MathFunctions.h
parenta9837130cdda163225367aaed51d66ba4d924e34 (diff)
downloadCMake-dfa24355eacbf99cf98bbf4027b8188c13ac7154.zip
CMake-dfa24355eacbf99cf98bbf4027b8188c13ac7154.tar.gz
CMake-dfa24355eacbf99cf98bbf4027b8188c13ac7154.tar.bz2
cmUVProcessChain: Add assert() for static analysis tools
Some static analysis tools throw a false positive for an out-of-bounds item that is being dereferenced. This out-of-bounds error will never actually happen because of how cmUVProcessChain::InternalData::AddCommand() is being called. Nevertheless, this change adds an assert() to help static analysis tools be absolutely certain that the referenced item is within the vector's bounds. This change also changes the item access to use an index rather than an iterator.
Diffstat (limited to 'Help/guide/tutorial/Step9/MathFunctions/MathFunctions.h')
0 files changed, 0 insertions, 0 deletions