commit | d27c991cebe48fdf82b5d9eec6c2a1a244f82622 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Mar 30 18:22:13 2008 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Mar 30 18:22:13 2008 +0000 |
tree | 540c5d6ba547c04eee48f2e86ce4f39ffd0c26ed | |
parent | f19f58a9360927f8ef50b9a029e8efb780d3d8a8 [diff] [blame] |
Fix "Control reaches the end of non-void function" warnings, patch by David Chisnall. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48963 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/Alpha/AlphaInstrInfo.cpp b/lib/Target/Alpha/AlphaInstrInfo.cpp index 48e23f9..96a75a6 100644 --- a/lib/Target/Alpha/AlphaInstrInfo.cpp +++ b/lib/Target/Alpha/AlphaInstrInfo.cpp
@@ -307,6 +307,7 @@ default: assert(0 && "Unknown opcode"); } + return 0; // Not reached } // Branch analysis.