Debugger: Remove unused values from DebuggerStartMode

Change-Id: I84ec3dea504e51bb925c925564aa9b5c84133fbf
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
Orgad Shaneh
2014-10-14 19:08:58 +03:00
committed by hjk
parent bb497cece2
commit 1ff1b8dbfd
5 changed files with 3 additions and 44 deletions

View File

@@ -292,14 +292,7 @@ int indexOfCommand(const QList<CommandPtrType> &l, int token)
static inline bool validMode(DebuggerStartMode sm)
{
switch (sm) {
case NoStartMode:
case StartRemoteGdb:
return false;
default:
break;
}
return true;
return sm != NoStartMode;
}
// Accessed by RunControlFactory