diff --git a/Engine/source/console/codeBlock.cpp b/Engine/source/console/codeBlock.cpp index 62d089eff..c403b4515 100644 --- a/Engine/source/console/codeBlock.cpp +++ b/Engine/source/console/codeBlock.cpp @@ -309,7 +309,7 @@ void CodeBlock::calcBreakList() if (seqCount) size++; - breakList = new U32[size+3]; + breakList = new U32[size+3]; //lineBreakPairs plus pad breakListSize = size; line = -1; seqCount = 0; diff --git a/Engine/source/console/consoleObject.h b/Engine/source/console/consoleObject.h index b21322b32..73a28567e 100644 --- a/Engine/source/console/consoleObject.h +++ b/Engine/source/console/consoleObject.h @@ -863,7 +863,7 @@ public: public: /// Get the classname from a class tag. - static const char* lookupClassName(const U32 in_classTag) {}; + static const char* lookupClassName(const U32 in_classTag) { return ""; }; /// @name Fields /// @{ diff --git a/Engine/source/console/engineExports.h b/Engine/source/console/engineExports.h index 1303315f8..b40c4bdc9 100644 --- a/Engine/source/console/engineExports.h +++ b/Engine/source/console/engineExports.h @@ -166,7 +166,7 @@ class EngineExportScope : public EngineExport private: /// Constructor for the global scope. - EngineExportScope():mExports(NULL){} + EngineExportScope():mExports(nullptr){} };