Fix some compile warnings

This commit is contained in:
Gunnar Beutner 2015-03-04 08:26:15 +01:00
parent b4143c2724
commit 4d63351561
3 changed files with 4 additions and 4 deletions

View File

@ -463,7 +463,7 @@ ExpressionResult GetScopeExpression::DoEvaluate(ScriptFrame& frame, DebugHint *d
else if (m_ScopeSpec == ScopeGlobal)
return ScriptGlobal::GetGlobals();
else
ASSERT(!"Invalid scope.");
VERIFY(!"Invalid scope.");
}
ExpressionResult SetExpression::DoEvaluate(ScriptFrame& frame, DebugHint *dhint) const

View File

@ -661,7 +661,7 @@ void IdoMysqlConnection::InternalExecuteQuery(const DbQuery& query, DbQueryType
qbuf << "DELETE FROM " << GetTablePrefix() << query.Table;
break;
default:
ASSERT(!"Invalid query type.");
VERIFY(!"Invalid query type.");
}
if (type == DbQueryInsert || type == DbQueryUpdate) {

View File

@ -638,7 +638,7 @@ void IdoPgsqlConnection::InternalExecuteQuery(const DbQuery& query, DbQueryType
else if (query.StatusUpdate)
hasid = GetStatusUpdate(query.Object);
else
ASSERT(!"Invalid query flags.");
VERIFY(!"Invalid query flags.");
if (!hasid)
upsert = true;
@ -657,7 +657,7 @@ void IdoPgsqlConnection::InternalExecuteQuery(const DbQuery& query, DbQueryType
qbuf << "DELETE FROM " << GetTablePrefix() << query.Table;
break;
default:
ASSERT(!"Invalid query type.");
VERIFY(!"Invalid query type.");
}
if (type == DbQueryInsert || type == DbQueryUpdate) {