From 89660bf7959ea4d2aeab12e934c60fc0cc18e2ec Mon Sep 17 00:00:00 2001 From: Daniel Malea Date: Fri, 7 Dec 2012 20:51:09 +0000 Subject: 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 --- lldb/source/Target/Process.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lldb/source/Target/Process.cpp') diff --git a/lldb/source/Target/Process.cpp b/lldb/source/Target/Process.cpp index abab5a3119b3..7ed4cb09b9ac 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; -- cgit v1.2.3