diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-01-01 17:35:28 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-01-03 18:50:55 (GMT) |
commit | b6346f25565f06bde208b8303d70bbe0fabc8210 (patch) | |
tree | ddfdb16a738b511d0b88410ebec307f28bbaceef /Tests | |
parent | 34a8c823788c34e62f0c879c986a7b7940872976 (diff) | |
download | CMake-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')
-rw-r--r-- | Tests/CMakeCommands/target_link_libraries/depB.cpp | 2 |
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(); } |