diff options
| author | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-03-20 06:08:36 +0000 |
|---|---|---|
| committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-03-20 06:08:36 +0000 |
| commit | a68f7b67f173abecc0ebaefa63dde9a93e78137e (patch) | |
| tree | dcb100b47b23e45aa6781caa5410cbda22ead338 /lldb/source/Interpreter/ScriptInterpreterPython.cpp | |
| parent | 2643b9053e2fff0247fb57716f20a00ca5b1abe9 (diff) | |
| download | bcm5719-llvm-a68f7b67f173abecc0ebaefa63dde9a93e78137e.tar.gz bcm5719-llvm-a68f7b67f173abecc0ebaefa63dde9a93e78137e.zip | |
cleanup unreferenced functions
This is a mechanical cleanup of unused functions. In the case where the
functions are referenced (in comment form), I've simply commented out the
functions. A second pass to clean that up is warranted.
The functions which are otherwise unused have been removed. Some of these were
introduced in the initial commit and not in use prior to that point!
NFC
llvm-svn: 204310
Diffstat (limited to 'lldb/source/Interpreter/ScriptInterpreterPython.cpp')
| -rw-r--r-- | lldb/source/Interpreter/ScriptInterpreterPython.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lldb/source/Interpreter/ScriptInterpreterPython.cpp b/lldb/source/Interpreter/ScriptInterpreterPython.cpp index c1d28e88afc..b9723275bed 100644 --- a/lldb/source/Interpreter/ScriptInterpreterPython.cpp +++ b/lldb/source/Interpreter/ScriptInterpreterPython.cpp @@ -62,13 +62,6 @@ static ScriptInterpreter::SWIGPythonScriptKeyword_Target g_swig_run_script_keywo static ScriptInterpreter::SWIGPythonScriptKeyword_Frame g_swig_run_script_keyword_frame = NULL; static ScriptInterpreter::SWIGPython_GetDynamicSetting g_swig_plugin_get = NULL; -static int -_check_and_flush (FILE *stream) -{ - int prev_fail = ferror (stream); - return fflush (stream) || prev_fail ? EOF : 0; -} - static std::string ReadPythonBacktrace (PyObject* py_backtrace); |

