Fix uninitialized members in VarStreamArrayIterator.

llvm-svn: 271529
This commit is contained in:
Zachary Turner 2016-06-02 16:28:52 +00:00
parent 66703ebfe5
commit aecd6c8079
1 changed files with 3 additions and 1 deletions

View File

@ -80,7 +80,9 @@ public:
markError();
}
}
VarStreamArrayIterator() : Array(nullptr), IterRef(), HasError(false) {}
VarStreamArrayIterator()
: Array(nullptr), ThisLen(0), ThisValue(), IterRef(), HasError(false),
HadError(nullptr) {}
~VarStreamArrayIterator() {}
bool operator==(const IterType &R) const {