mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-05 14:18:35 -06:00
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;
^
This commit is contained in:
@@ -7,5 +7,5 @@ int DepB::foo()
|
||||
{
|
||||
DepA a;
|
||||
|
||||
return 0;
|
||||
return a.foo();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user