summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCBranchSelector.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2005-06-18 17:37:34 +0000
committerReid Spencer <rspencer@reidspencer.com>2005-06-18 17:37:34 +0000
commit4b828e6384e1e6c9936130dd9fe805c2140b05fc (patch)
tree9c286f3d73a34ab2bcdae74c659a2aa0623249a1 /lib/Target/PowerPC/PPCBranchSelector.cpp
parent8a207c16d2eb44ebcf94b13b0db047e46b7b0d30 (diff)
downloadllvm-4b828e6384e1e6c9936130dd9fe805c2140b05fc.tar.gz
llvm-4b828e6384e1e6c9936130dd9fe805c2140b05fc.tar.bz2
llvm-4b828e6384e1e6c9936130dd9fe805c2140b05fc.tar.xz
Clean up some uninitialized variables and missing return statements that
GCC 4.0.0 compiler (sometimes incorrectly) warns about under release build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22249 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCBranchSelector.cpp')
-rw-r--r--lib/Target/PowerPC/PPCBranchSelector.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCBranchSelector.cpp b/lib/Target/PowerPC/PPCBranchSelector.cpp
index 7ace3c10d4..fdf1dd338a 100644
--- a/lib/Target/PowerPC/PPCBranchSelector.cpp
+++ b/lib/Target/PowerPC/PPCBranchSelector.cpp
@@ -43,8 +43,9 @@ namespace {
case PPC::IMPLICIT_DEF: // no asm emitted
return 0;
default:
- return 4; // PowerPC instructions are all 4 bytes
+ break;
}
+ return 4; // PowerPC instructions are all 4 bytes
}
virtual bool runOnMachineFunction(MachineFunction &Fn) {