Remove unused variable

This commit is contained in:
Simon Walton 2018-10-30 09:40:08 -07:00
parent be279f08dc
commit 6f6c92e647
2 changed files with 3 additions and 5 deletions

View file

@ -12,10 +12,9 @@
#include "RecurseOctreeToJSONOperator.h"
#include "EntityItemProperties.h"
RecurseOctreeToJSONOperator::RecurseOctreeToJSONOperator(const OctreeElementPointer& top, QScriptEngine* engine,
RecurseOctreeToJSONOperator::RecurseOctreeToJSONOperator(const OctreeElementPointer&, QScriptEngine* engine,
QString jsonPrefix /* = QString() */, bool skipDefaults /* = true */)
: _top(top)
, _engine(engine)
: _engine(engine)
, _json(jsonPrefix)
, _skipDefaults(skipDefaults)
{

View file

@ -13,7 +13,7 @@
class RecurseOctreeToJSONOperator : public RecurseOctreeOperator {
public:
RecurseOctreeToJSONOperator(const OctreeElementPointer& top, QScriptEngine* engine, QString jsonPrefix = QString(), bool skipDefaults = true);
RecurseOctreeToJSONOperator(const OctreeElementPointer&, QScriptEngine* engine, QString jsonPrefix = QString(), bool skipDefaults = true);
virtual bool preRecursion(const OctreeElementPointer& element) override { return true; };
virtual bool postRecursion(const OctreeElementPointer& element) override;
@ -22,7 +22,6 @@ public:
private:
void processEntity(const EntityItemPointer& entity);
const OctreeElementPointer& _top;
QScriptEngine* _engine;
QScriptValue _toStringMethod;