--- a/src/hbcore/layouts/hbanchorlayoutengine_p.cpp Thu Sep 02 20:44:51 2010 +0300
+++ b/src/hbcore/layouts/hbanchorlayoutengine_p.cpp Fri Sep 17 08:32:10 2010 +0300
@@ -37,10 +37,11 @@
static const qreal EPSILON = 0.01f;
static const qreal MAX_SIZE = 0xffffff;
-static inline bool myFuzzyCompare(double p1, double p2) //krazy:exclude=typedefs
-{
- return (qAbs(p1 - p2) <= 0.0001);
-}
+// declared but never referenced:
+//static inline bool myFuzzyCompare(double p1, double p2) //krazy:exclude=typedefs
+//{
+// return (qAbs(p1 - p2) <= 0.0001);
+//}
static inline bool myFuzzyCompare(float p1, float p2) //krazy:exclude=typedefs
{
@@ -48,15 +49,17 @@
}
-static inline qreal minSlope(const Variable &var, qreal coef )
-{
- return var.sizeProp.pref + ( var.sizeProp.min - var.sizeProp.pref ) * coef;
-}
+// declared but never referenced:
+//static inline qreal minSlope(const Variable &var, qreal coef )
+//{
+// return var.sizeProp.pref + ( var.sizeProp.min - var.sizeProp.pref ) * coef;
+//}
-static inline qreal maxSlope(const Variable &var, qreal coef )
-{
- return var.sizeProp.pref + ( var.sizeProp.max - var.sizeProp.pref ) * coef;
-}
+// declared but never referenced:
+//static inline qreal maxSlope(const Variable &var, qreal coef )
+//{
+// return var.sizeProp.pref + ( var.sizeProp.max - var.sizeProp.pref ) * coef;
+//}
static inline bool differentSignOrZero( qreal val1, qreal val2 )
{
@@ -409,7 +412,7 @@
SizeProperty *newEdgeSizeProp(0);
- SimpleExpression se;
+ SimpleExpression se; //ARM Warning: C2874W: <se.0> may be used before being set
uint comparedEdgeFlags;