Remove unused global variable.

This commit is contained in:
Mikaël Capelle
2020-05-11 23:39:55 +02:00
parent 24205bba66
commit 0c52c2417c
2 changed files with 0 additions and 7 deletions
-5
View File
@@ -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;
-2
View File
@@ -29,8 +29,6 @@
#include "gilock.h"
#include "pythonwrapperutilities.h"
extern MOBase::IOrganizer *s_Organizer;
// This needs to be extendable in Python, so actually needs a wrapper (everything else probably doesn't):
class ISaveGameWrapper : public MOBase::ISaveGame, public boost::python::wrapper<MOBase::ISaveGame>
{