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
This commit is contained in:
Daniel Malea
2012-12-07 20:51:09 +00:00
parent 4ec32d3d90
commit 89660bf795
31 changed files with 0 additions and 162 deletions

View File

@@ -1131,8 +1131,6 @@ ScriptInterpreterPython::ExecuteOneLineWithReturn (const char *in_string,
success = PyArg_Parse (py_return, format, (char *) ret_value);
break;
}
default:
{}
}
Py_DECREF (py_return);
if (success)