forked from qt-creator/qt-creator
Clang: Fix unused warning
Change-Id: I1ed0698eb9ea2d73e4ccc6540121610b30d5f646 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -1024,7 +1024,7 @@ TEST_F(HighlightingMarks, OutputArgumentsAreEmptyAfterIteration)
|
|||||||
{
|
{
|
||||||
const auto infos = translationUnit.highlightingMarksInRange(sourceRange(501, 63));
|
const auto infos = translationUnit.highlightingMarksInRange(sourceRange(501, 63));
|
||||||
|
|
||||||
for (const auto &info : infos ) {}
|
for (const auto &info : infos ) { Q_UNUSED(info) }
|
||||||
|
|
||||||
ASSERT_TRUE(infos.currentOutputArgumentRangesAreEmpty());
|
ASSERT_TRUE(infos.currentOutputArgumentRangesAreEmpty());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user