Makes gmock compile with gcc -Wall -Wextra -Wno-unused-parameter.

This commit is contained in:
zhanyong.wan
2009-03-26 19:06:45 +00:00
parent 68be111b4c
commit 3fbd2dd020
6 changed files with 17 additions and 16 deletions

View File

@@ -501,7 +501,7 @@ TEST(LinkTest, TestMatcherRef) {
// Tests the linkage of the TypedEq matcher.
TEST(LinkTest, TestMatcherTypedEq) {
Mock mock;
unsigned long a = 0;
long a = 0;
ON_CALL(mock, VoidFromIntRef(TypedEq<int&>(a))).WillByDefault(Return());
}