Skip to content

Commit 0918967

Browse files
committed
DIEAbbrev - fix uninitialized variable warning. NFCI.
1 parent d0f3c82 commit 0918967

File tree

1 file changed

+1
-1
lines changed
  • llvm/include/llvm/CodeGen

1 file changed

+1
-1
lines changed

llvm/include/llvm/CodeGen/DIE.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class DIEAbbrev : public FoldingSetNode {
9393
SmallVector<DIEAbbrevData, 12> Data;
9494

9595
public:
96-
DIEAbbrev(dwarf::Tag T, bool C) : Tag(T), Children(C) {}
96+
DIEAbbrev(dwarf::Tag T, bool C) : Tag(T), Children(C), Number(0) {}
9797

9898
/// Accessors.
9999
/// @{

0 commit comments

Comments
 (0)