summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorDaniel Malea <daniel.malea@intel.com>2012-12-07 20:51:09 +0000
committerDaniel Malea <daniel.malea@intel.com>2012-12-07 20:51:09 +0000
commit89660bf7959ea4d2aeab12e934c60fc0cc18e2ec (patch)
tree3b37f1cb961ac1cb59d265b94e9ba1bf80f2d6eb /lldb/source/Interpreter/ScriptInterpreterPython.cpp
parent4ec32d3d90a725234f6ea5b426673cd1a8f69971 (diff)
downloadbcm5719-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/Interpreter/ScriptInterpreterPython.cpp')
-rw-r--r--lldb/source/Interpreter/ScriptInterpreterPython.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lldb/source/Interpreter/ScriptInterpreterPython.cpp b/lldb/source/Interpreter/ScriptInterpreterPython.cpp
index 98fe10efa4a..b038e3332e7 100644
--- a/lldb/source/Interpreter/ScriptInterpreterPython.cpp
+++ b/lldb/source/Interpreter/ScriptInterpreterPython.cpp
@@ -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)
OpenPOWER on IntegriCloud