From b6346f25565f06bde208b8303d70bbe0fabc8210 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Tue, 1 Jan 2013 18:35:28 +0100 Subject: 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; ^ --- Tests/CMakeCommands/target_link_libraries/depB.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- cgit v0.12