diff --git a/code/Importer.cpp b/code/Importer.cpp index 876746445..ead61402c 100644 --- a/code/Importer.cpp +++ b/code/Importer.cpp @@ -927,11 +927,11 @@ void Importer::GetExtensionList(aiString& szOut) const // Set a configuration property bool Importer::SetPropertyInteger(const char* szName, int iValue) { - bool exising; + bool existing; ASSIMP_BEGIN_EXCEPTION_REGION(); - exising = SetGenericProperty(pimpl->mIntProperties, szName,iValue); + existing = SetGenericProperty(pimpl->mIntProperties, szName,iValue); ASSIMP_END_EXCEPTION_REGION(bool); - return exising; + return existing; } // ------------------------------------------------------------------------------------------------ diff --git a/include/assimp/ai_assert.h b/include/assimp/ai_assert.h index d753ea01d..202446009 100644 --- a/include/assimp/ai_assert.h +++ b/include/assimp/ai_assert.h @@ -5,7 +5,7 @@ #ifdef ASSIMP_BUILD_DEBUG # include -# define ai_assert(expression) assert(expression); +# define ai_assert(expression) assert(expression) #else # define ai_assert(expression) #endif