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:
parent
34a8c82378
commit
b6346f2556
|
@ -7,5 +7,5 @@ int DepB::foo()
|
||||||
{
|
{
|
||||||
DepA a;
|
DepA a;
|
||||||
|
|
||||||
return 0;
|
return a.foo();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue