diff options
author | zhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386> | 2009-03-26 19:06:45 +0000 |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386> | 2009-03-26 19:06:45 +0000 |
commit | 3fbd2dd020819fcfd7cef2aa6a17fad73c41a0ee (patch) | |
tree | bea98a1704d173263e559d949c63289bec30d9f9 /test/gmock_link_test.h | |
parent | 68be111b4c82d3422ba2b83a8651033300ad4900 (diff) | |
download | googletest-3fbd2dd020819fcfd7cef2aa6a17fad73c41a0ee.tar.gz googletest-3fbd2dd020819fcfd7cef2aa6a17fad73c41a0ee.tar.bz2 googletest-3fbd2dd020819fcfd7cef2aa6a17fad73c41a0ee.zip |
Makes gmock compile with gcc -Wall -Wextra -Wno-unused-parameter.
Diffstat (limited to 'test/gmock_link_test.h')
-rw-r--r-- | test/gmock_link_test.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gmock_link_test.h b/test/gmock_link_test.h index 96cd79fb..4e0adb71 100644 --- a/test/gmock_link_test.h +++ b/test/gmock_link_test.h @@ -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()); } |