Skip to content

Commit 096cad5

Browse files
[Serialization] Fix a warning
This patch fixes: clang/unittests/Serialization/SourceLocationEncodingTest.cpp:39:34: error: unused variable 'Biggest' [-Werror,-Wunused-const-variable]
1 parent b8e8ff3 commit 096cad5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

clang/unittests/Serialization/SourceLocationEncodingTest.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ void roundTrip(SourceLocation::UIntTy Loc,
3636
constexpr SourceLocation::UIntTy MacroBit =
3737
1 << (sizeof(SourceLocation::UIntTy) * CHAR_BIT - 1);
3838
constexpr SourceLocation::UIntTy Big = MacroBit >> 1;
39-
constexpr SourceLocation::UIntTy Biggest = -1;
4039

4140
TEST(SourceLocationEncoding, Individual) {
4241
roundTrip(1, 2);

0 commit comments

Comments
 (0)