diff options
author | Brad King <brad.king@kitware.com> | 2014-10-14 13:20:23 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-10-14 13:20:23 (GMT) |
commit | c113efa7033e27ee3b7a0d4803647830462c3025 (patch) | |
tree | c40ada8c45c0dfee6a619964b575ce04d3660a16 | |
parent | 19f87a73bd8da5befe238730d9183e138de196a8 (diff) | |
parent | 384d3ce7204f5a93833494db7808c1f0359db5ba (diff) | |
download | CMake-c113efa7033e27ee3b7a0d4803647830462c3025.zip CMake-c113efa7033e27ee3b7a0d4803647830462c3025.tar.gz CMake-c113efa7033e27ee3b7a0d4803647830462c3025.tar.bz2 |
Merge topic 'CheckStructHasMember-avoid-breakage-on-Wall'
384d3ce7 CheckStructHasMember: avoid breakage on -Wall -Werror (#15203)
-rw-r--r-- | Modules/CheckStructHasMember.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CheckStructHasMember.cmake b/Modules/CheckStructHasMember.cmake index 880a688..c8949cf 100644 --- a/Modules/CheckStructHasMember.cmake +++ b/Modules/CheckStructHasMember.cmake @@ -70,7 +70,7 @@ ${_INCLUDE_FILES} int main() { ${_STRUCT}* tmp; - tmp->${_MEMBER}; + (void) tmp->${_MEMBER}; return 0; } ") |