[lld][NFC] Silence -Wuninitialized GCC 11 warnings. (#75183)
Use of those variables is guarded by lastType, so they are not actually used uninitialized.
This commit is contained in:
1 parent
edcc7fe9aa
commit
ccec22b675
1 file changed
+1
-1
+1
-1
@@ -560,7 +560,7 @@ void Writer::createECCodeMap() {
|
||||
codeMap.clear();
|
||||
|
||||
std::optional<chpe_range_type> lastType;
|
||||
Chunk *first, *last;
|
||||
Chunk *first = nullptr, *last = nullptr;
|
||||
|
||||
auto closeRange = [&]() {
|
||||
if (lastType) {
|
||||
|
||||
Reference in new issue
Block a user