diff options
| author | Ben Boeckel <ben.boeckel@kitware.com> | 2021-08-22 16:35:56 (GMT) |
|---|---|---|
| committer | Ben Boeckel <ben.boeckel@kitware.com> | 2021-08-22 16:42:48 (GMT) |
| commit | 49a5dbcaff57da133aadd7a31abdd65515b426e6 (patch) | |
| tree | 890c8ccdc210250519d91297b8604495a1bbfd7f /Help/guide/tutorial/Step5/MathFunctions/mysqrt.cxx | |
| parent | efa5e1f367ac76cb7aa919929ece1f4799cdc4b2 (diff) | |
| download | CMake-49a5dbcaff57da133aadd7a31abdd65515b426e6.zip CMake-49a5dbcaff57da133aadd7a31abdd65515b426e6.tar.gz CMake-49a5dbcaff57da133aadd7a31abdd65515b426e6.tar.bz2 | |
GNUInstallDirs: avoid unwanted variable dereference
In some situations, it seems that the variable `0` is defined. In the
case found, it was set to `1`. This makes the detection of the missing
third argument bogus and unnecessarily triggers a warning.
This oversight was introduced in 229b5ee994 (GNUInstallDirs: Add dir
argument to GNUInstallDirs_get_absolute_install_dir, 2020-10-31) prior
to CMake 3.20's release cycle.
Diffstat (limited to 'Help/guide/tutorial/Step5/MathFunctions/mysqrt.cxx')
0 files changed, 0 insertions, 0 deletions
