Unittest: Resolve unused argument warning
Unittest: Resolve unused argument warning

In case the typelist is empty, GCC 5 would warn about name being unused.
By constructing a local string copy this should be resolved.

Signed-off-by: Matthias Kretz <372ea4eca737a13cd010ee806d4ce7b98ee71550@kde.org>

chr-engwer/Vc,VcDevel/Vc,chr-engwer/Vc,VcDevel/Vc,chr-engwer/Vc,VcDevel/Vc,VcDevel/Vc