mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-29 04:09:35 +03: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:
1 parent
34a8c82378
commit
b6346f2556
1 file changed
+1
-1
@@ -7,5 +7,5 @@ int DepB::foo()
|
||||
{
|
||||
DepA a;
|
||||
|
||||
return 0;
|
||||
return a.foo();
|
||||
}
|
||||
Reference in new issue
Block a user