mirror of
https://github.com/ModOrganizer2/modorganizer-plugin_python.git
synced 2026-07-27 14:03:33 -07:00
Remove unused global variable.
This commit is contained in:
@@ -32,10 +32,6 @@
|
||||
#include "variant_helper.h"
|
||||
#include "converters.h"
|
||||
|
||||
MOBase::IOrganizer *s_Organizer = nullptr;
|
||||
|
||||
|
||||
|
||||
using namespace MOBase;
|
||||
|
||||
namespace bpy = boost::python;
|
||||
@@ -744,7 +740,6 @@ private:
|
||||
|
||||
IPythonRunner* CreatePythonRunner(MOBase::IOrganizer* moInfo, const QString& pythonDir)
|
||||
{
|
||||
s_Organizer = moInfo;
|
||||
PythonRunner* result = new PythonRunner(moInfo);
|
||||
if (result->initPython(pythonDir)) {
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user