From 09189677394f40f00f7ff538c6e5ff54e65f5fc7 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Sat, 2 Nov 2019 17:28:08 +0000 Subject: [PATCH] DIEAbbrev - fix uninitialized variable warning. NFCI. --- llvm/include/llvm/CodeGen/DIE.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/CodeGen/DIE.h b/llvm/include/llvm/CodeGen/DIE.h index e8e7504a6cda..3310e29f5fe2 100644 --- a/llvm/include/llvm/CodeGen/DIE.h +++ b/llvm/include/llvm/CodeGen/DIE.h @@ -93,7 +93,7 @@ class DIEAbbrev : public FoldingSetNode { SmallVector Data; public: - DIEAbbrev(dwarf::Tag T, bool C) : Tag(T), Children(C) {} + DIEAbbrev(dwarf::Tag T, bool C) : Tag(T), Children(C), Number(0) {} /// Accessors. /// @{