Merge topic 'CheckStructHasMember-avoid-breakage-on-Wall'

384d3ce7 CheckStructHasMember: avoid breakage on -Wall -Werror (#15203)
This commit is contained in:
Brad King 2014-10-14 09:20:23 -04:00 committed by CMake Topic Stage
commit c113efa703

View File

@ -70,7 +70,7 @@ ${_INCLUDE_FILES}
int main()
{
${_STRUCT}* tmp;
tmp->${_MEMBER};
(void) tmp->${_MEMBER};
return 0;
}
")