mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 09:30:44 +00:00
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:
committed by
Baldur Karlsson
parent
b227229d9f
commit
58b628ee8b
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user