Skip to content

Commit d650ccf

Browse files
committed
[NFC] Remove unused variable
To fix 'set but not used' warning on sanitizer-x86_64-linux-android bot.
1 parent 8c5a449 commit d650ccf

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

clang/lib/Format/WhitespaceManager.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1068,9 +1068,6 @@ void WhitespaceManager::alignArrayInitializersLeftJustified(
10681068
Changes[CellIter->Index].Spaces = CellDescs.InitialSpaces;
10691069
++CellIter;
10701070
for (auto i = 1U; i < CellDescs.CellCount; i++, ++CellIter) {
1071-
unsigned NetWidth = 0U;
1072-
if (isSplitCell(*CellIter))
1073-
NetWidth = getNetWidth(Cells.begin(), CellIter, CellDescs.InitialSpaces);
10741071
auto MaxNetWidth = getMaximumNetWidth(
10751072
Cells.begin(), CellIter, CellDescs.InitialSpaces, CellDescs.CellCount);
10761073
auto ThisNetWidth =

0 commit comments

Comments
 (0)