Skip to content

Commit e4ae817

Browse files
committed
PythonInterpreter: fix warning and don't show a tool bar menu item
1 parent 85adb6c commit e4ae817

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

PythonInterpreter/PythonInterpCtrl.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,6 @@ bool PythonInterpCtrl::DispatchCode(const wxString &code)
242242
{
243243
if(m_pyinterp->IsJobRunning())
244244
return false;
245-
int status;
246245
m_code=code;
247246
if (RunCode(wxString(code.c_str())))
248247
{

PythonInterpreter/PythonInterpreter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,5 +180,5 @@ bool PythonInterpreter::BuildToolBar(wxToolBar* toolBar)
180180
{
181181
// if (!IsAttached() || !toolBar)
182182
// return false;
183-
return true;
183+
return false;
184184
}

0 commit comments

Comments
 (0)