Commit 9431850f authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

remove remainders of a fairly useless set of asserts

(the rest seems to have evaporated over time or never existed in the
first place)
parent 5b7c8848
......@@ -788,7 +788,6 @@ void ProFileEvaluator::Private::visitProCondition(ProCondition *cond)
ProItem::ProItemReturn ProFileEvaluator::Private::visitBeginProFile(ProFile * pro)
{
PRE(pro);
m_lineNo = pro->lineNumber();
m_profileStack.push(pro);
if (m_profileStack.count() == 1) {
......@@ -827,7 +826,6 @@ ProItem::ProItemReturn ProFileEvaluator::Private::visitBeginProFile(ProFile * pr
ProItem::ProItemReturn ProFileEvaluator::Private::visitEndProFile(ProFile * pro)
{
PRE(pro);
m_lineNo = pro->lineNumber();
if (m_profileStack.count() == 1) {
if (m_parsePreAndPostFiles) {
......@@ -871,7 +869,6 @@ ProItem::ProItemReturn ProFileEvaluator::Private::visitEndProFile(ProFile * pro)
void ProFileEvaluator::Private::visitProValue(ProValue *value)
{
PRE(value);
m_lineNo = value->lineNumber();
m_sts.varVal += expandVariableReferences(value->value());
}
......
......@@ -35,10 +35,6 @@
QT_BEGIN_NAMESPACE
// Pre- and postcondition macros
#define PRE(cond) do {if(!(cond))qt_assert(#cond,__FILE__,__LINE__);} while (0)
#define POST(cond) do {if(!(cond))qt_assert(#cond,__FILE__,__LINE__);} while (0)
// This struct is from qmake, but we are not using everything.
struct Option
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment