summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeCommands
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-01-01 17:35:28 (GMT)
committerBrad King <brad.king@kitware.com>2013-01-03 18:50:55 (GMT)
commitb6346f25565f06bde208b8303d70bbe0fabc8210 (patch)
treeddfdb16a738b511d0b88410ebec307f28bbaceef /Tests/CMakeCommands
parent34a8c823788c34e62f0c879c986a7b7940872976 (diff)
downloadCMake-b6346f25565f06bde208b8303d70bbe0fabc8210.zip
CMake-b6346f25565f06bde208b8303d70bbe0fabc8210.tar.gz
CMake-b6346f25565f06bde208b8303d70bbe0fabc8210.tar.bz2
Tests: Fix warning about unused variable
Resolve this warning: ".../Tests/CMakeCommands/target_link_libraries/depB.cpp", line 8: warning: variable "a" was declared but never referenced DepA a; ^
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();
}