Skip to content

Commit

Permalink
Ensure VPlanPrinter::Depth is initialized to fix static analyzer warn…
Browse files Browse the repository at this point in the history
…ing. NFCI.
  • Loading branch information
RKSimon committed Nov 3, 2019
1 parent 297d96b commit 81ba611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Transforms/Vectorize/VPlan.h
Original file line number Diff line number Diff line change
Expand Up @@ -1267,7 +1267,7 @@ class VPlanPrinter {
private:
raw_ostream &OS;
VPlan &Plan;
unsigned Depth;
unsigned Depth = 0;
unsigned TabWidth = 2;
std::string Indent;
unsigned BID = 0;
Expand Down

0 comments on commit 81ba611

Please sign in to comment.