clang-format: fix undefined behavior.
The previous change failed to initialize the SymbolsMerged field.
GitOrigin-RevId: 2fe4909748b5f14499e83b0647b7e9ddd0068a15
diff --git a/lib/Format/SortJavaScriptImports.cpp b/lib/Format/SortJavaScriptImports.cpp
index fdc2408..b7df1a5 100644
--- a/lib/Format/SortJavaScriptImports.cpp
+++ b/lib/Format/SortJavaScriptImports.cpp
@@ -89,7 +89,7 @@
SmallVector<JsImportedSymbol, 1> Symbols;
// Whether some symbols were merged into this one. Controls if the module
// reference needs re-formatting.
- bool SymbolsMerged;
+ bool SymbolsMerged = false;
// The source location just after { and just before } in the import.
// Extracted eagerly to allow modification of Symbols later on.
SourceLocation SymbolsStart, SymbolsEnd;