Skip to content

Commit aef2d00

Browse files
committed
fix clang
1 parent c9175d7 commit aef2d00

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

neg-tests/RemoveConstReturnByValueTest.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ TEST(RemoveConstReturnByValueTest_Neg, AutoRef) {
1717
auto& temp = GetStr();
1818
// Fixable by removing the referene
1919
//auto temp = GetStr();
20+
(void)temp;
2021
}
2122

2223
// #2 The returned variable was a Base class, and also used inside a ternary operator

0 commit comments

Comments
 (0)