Skip to content

Commit

Permalink
Fix uninitialized variable warning. NFCI.
Browse files Browse the repository at this point in the history
  • Loading branch information
RKSimon committed Nov 13, 2019
1 parent 6ebc508 commit 29a5a6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
Expand Up @@ -27,7 +27,7 @@ using namespace llvm;
// SelectionDAG operations.
namespace {
class RISCVDAGToDAGISel final : public SelectionDAGISel {
const RISCVSubtarget *Subtarget;
const RISCVSubtarget *Subtarget = nullptr;

public:
explicit RISCVDAGToDAGISel(RISCVTargetMachine &TargetMachine)
Expand Down

0 comments on commit 29a5a6e

Please sign in to comment.