summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeCommands
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-01-03 18:53:30 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-01-03 18:53:30 (GMT)
commit2c4969a131fbdd949cac02520133b2c865b9fd78 (patch)
tree6106ee76722207425310f4796aa20124cdd48846 /Tests/CMakeCommands
parentde34995d185c228b419bf0f3d5854fbccff3db66 (diff)
parentb6346f25565f06bde208b8303d70bbe0fabc8210 (diff)
downloadCMake-2c4969a131fbdd949cac02520133b2c865b9fd78.zip
CMake-2c4969a131fbdd949cac02520133b2c865b9fd78.tar.gz
CMake-2c4969a131fbdd949cac02520133b2c865b9fd78.tar.bz2
Merge topic 'fix-test-warnings'
b6346f2 Tests: Fix warning about unused variable
Diffstat (limited to 'Tests/CMakeCommands')
-rw-r--r--Tests/CMakeCommands/target_link_libraries/depB.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeCommands/target_link_libraries/depB.cpp b/Tests/CMakeCommands/target_link_libraries/depB.cpp
index 97e5be2..1bbe38b 100644
--- a/Tests/CMakeCommands/target_link_libraries/depB.cpp
+++ b/Tests/CMakeCommands/target_link_libraries/depB.cpp
@@ -7,5 +7,5 @@ int DepB::foo()
{
DepA a;
- return 0;
+ return a.foo();
}