Fix unused variables

In almost all cases these can be removed. The only exception is in
ShaderViewer.cpp, where regIdx should have been used.
This commit is contained in:
Cory Bloor
2017-11-12 16:16:16 -07:00
committed by Baldur Karlsson
parent b227229d9f
commit 58b628ee8b
9 changed files with 2 additions and 16 deletions
@@ -410,10 +410,6 @@ PythonContext::PythonContext(QObject *parent) : QObject(parent)
// clone our own local context
context_namespace = PyDict_Copy(main_dict);
QString typeStr;
QString valueStr;
QList<QString> frames;
// for compatibility with earlier versions of python that took a char * instead of const char *
char noparams[1] = "";
@@ -873,4 +869,4 @@ extern "C" void SetThreadBlocking(PyObject *global_handle, bool block)
OutputRedirector *redirector = (OutputRedirector *)global_handle;
if(redirector && redirector->context)
return redirector->context->setThreadBlocking(block);
}
}