diff options
author | Daniel Malea <daniel.malea@intel.com> | 2012-12-07 20:51:09 +0000 |
---|---|---|
committer | Daniel Malea <daniel.malea@intel.com> | 2012-12-07 20:51:09 +0000 |
commit | 89660bf7959ea4d2aeab12e934c60fc0cc18e2ec (patch) | |
tree | 3b37f1cb961ac1cb59d265b94e9ba1bf80f2d6eb /lldb/source/Target/Process.cpp | |
parent | 4ec32d3d90a725234f6ea5b426673cd1a8f69971 (diff) | |
download | bcm5719-llvm-89660bf7959ea4d2aeab12e934c60fc0cc18e2ec.tar.gz bcm5719-llvm-89660bf7959ea4d2aeab12e934c60fc0cc18e2ec.zip |
More Linux warnings fixes (remove default labels as needed):
- as per http://llvm.org/docs/CodingStandards.html#don-t-use-default-labels-in-fully-covered-switches-over-enumerations
Patch by Matt Kopec!
llvm-svn: 169633
Diffstat (limited to 'lldb/source/Target/Process.cpp')
-rw-r--r-- | lldb/source/Target/Process.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lldb/source/Target/Process.cpp b/lldb/source/Target/Process.cpp index abab5a3119b..7ed4cb09b9a 100644 --- a/lldb/source/Target/Process.cpp +++ b/lldb/source/Target/Process.cpp @@ -671,10 +671,6 @@ ProcessLaunchInfo::FileAction::AddPosixSpawnFileAction (posix_spawn_file_actions file_actions, info->m_fd, info->m_path.c_str(), oflag, mode); } break; - - default: - error.SetErrorStringWithFormat ("invalid file action: %i", info->m_action); - break; } return error.Success(); } @@ -3369,7 +3365,6 @@ Process::ShouldBroadcastEvent (Event *event_ptr) // This is a transition from stop to run. switch (m_thread_list.ShouldReportRun (event_ptr)) { - default: case eVoteYes: case eVoteNoOpinion: return_value = true; |