diff options
| author | Ted Kremenek <kremenek@apple.com> | 2011-01-23 17:05:06 +0000 | 
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2011-01-23 17:05:06 +0000 | 
| commit | 3c4408ceb65ec14ea4aaa3712e019a4a3ee72ea1 (patch) | |
| tree | f87755496a32a67d4b390eadbc9d38fc92d9c2fc /llvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp | |
| parent | 582a0999fbb43cafb824d0cf5deb0bd81448e47c (diff) | |
| download | bcm5719-llvm-3c4408ceb65ec14ea4aaa3712e019a4a3ee72ea1.tar.gz bcm5719-llvm-3c4408ceb65ec14ea4aaa3712e019a4a3ee72ea1.zip | |
Null initialize a few variables flagged by
clang's -Wuninitialized-experimental warning.
While these don't look like real bugs, clang's
-Wuninitialized-experimental analysis is stricter
than GCC's, and these fixes have the benefit
of being general nice cleanups.
llvm-svn: 124073
Diffstat (limited to 'llvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp')
| -rw-r--r-- | llvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/llvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp b/llvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp index 7b4d8ccb5af..d2261562e72 100644 --- a/llvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp +++ b/llvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp @@ -612,7 +612,7 @@ SDNode *  SPUDAGToDAGISel::Select(SDNode *N) {    unsigned Opc = N->getOpcode();    int n_ops = -1; -  unsigned NewOpc; +  unsigned NewOpc = 0;    EVT OpVT = N->getValueType(0);    SDValue Ops[8];    DebugLoc dl = N->getDebugLoc(); | 

