summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-07-23 15:06:16 +0200
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-08-04 20:59:27 +0200
commit9431850fcd37fa4792af580a1fa3f4c492445115 (patch)
tree427f1287011b9fd65d93a7fa250747a92b0f41ed /src
parent5b7c8848e55c97af6dd3e5d565ad4ee30a4f987e (diff)
downloadqt-creator-9431850fcd37fa4792af580a1fa3f4c492445115.tar.gz
remove remainders of a fairly useless set of asserts
(the rest seems to have evaporated over time or never existed in the first place)
Diffstat (limited to 'src')
-rw-r--r--src/shared/proparser/profileevaluator.cpp3
-rw-r--r--src/shared/proparser/proparserutils.h4
2 files changed, 0 insertions, 7 deletions
diff --git a/src/shared/proparser/profileevaluator.cpp b/src/shared/proparser/profileevaluator.cpp
index 2613ce2403..ee626601cd 100644
--- a/src/shared/proparser/profileevaluator.cpp
+++ b/src/shared/proparser/profileevaluator.cpp
@@ -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());
}
diff --git a/src/shared/proparser/proparserutils.h b/src/shared/proparser/proparserutils.h
index 81d026b7be..0d339ad521 100644
--- a/src/shared/proparser/proparserutils.h
+++ b/src/shared/proparser/proparserutils.h
@@ -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
{