Clang warnings.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-11-16 14:08:15 +02:00
parent 96b2d644e1
commit 3347d0ad77
4 changed files with 4 additions and 8 deletions

View file

@ -60,6 +60,5 @@ VExceptionConversionError::~VExceptionConversionError() V_NOEXCEPT_EXPR (true)
*/
QString VExceptionConversionError::ErrorMessage() const
{
QString error = QString("ExceptionConversionError: %1 \"%2\"").arg(error, str);
return error;
return QString("ExceptionConversionError: %1 \"%2\"").arg(error, str);
}

View file

@ -69,8 +69,7 @@ VExceptionEmptyParameter::~VExceptionEmptyParameter() V_NOEXCEPT_EXPR (true)
*/
QString VExceptionEmptyParameter::ErrorMessage() const
{
QString error = QString("ExceptionEmptyParameter: %1 %2").arg(error, name);
return error;
return QString("ExceptionEmptyParameter: %1 %2").arg(error, name);
}
//---------------------------------------------------------------------------------------------------------------------

View file

@ -62,8 +62,7 @@ VExceptionObjectError::VExceptionObjectError(const VExceptionObjectError &e)
*/
QString VExceptionObjectError::ErrorMessage() const
{
QString error = QString("ExceptionObjectError: %1").arg(error);
return error;
return QString("ExceptionObjectError: %1").arg(error);
}
//---------------------------------------------------------------------------------------------------------------------

View file

@ -62,8 +62,7 @@ VExceptionWrongId::VExceptionWrongId(const VExceptionWrongId &e)
*/
QString VExceptionWrongId::ErrorMessage() const
{
QString error = QString("ExceptionWrongId: %1").arg(error);
return error;
return QString("ExceptionWrongId: %1").arg(error);
}
//---------------------------------------------------------------------------------------------------------------------