diff -r 800203832575 -r 30342f40acbf webengine/webkitutils/stmgesturefw/src/statemachine.cpp --- a/webengine/webkitutils/stmgesturefw/src/statemachine.cpp Mon Jun 21 16:54:17 2010 +0300 +++ b/webengine/webkitutils/stmgesturefw/src/statemachine.cpp Thu Jul 15 19:53:20 2010 +0300 @@ -32,6 +32,7 @@ GLREF_D const char* stateNames[8] ; +#ifdef GESTURE_LOGGING const char* const ttypeNames[] = { // for debugging purposes define the names of the pointer events "EButton1Down ", "EButton1Up ", @@ -49,6 +50,7 @@ "EEnterHighPressure ", "EExitHighPressure " }; +#endif /// Fast integer distance int stmUiEventEngine::Distance(int x, int y) @@ -745,7 +747,9 @@ } else if (Rng(edge, wY, sz.iHeight - edge)) { +#ifdef GESTURE_LOGGING int from = newPos.iY ; +#endif newPos.iY -= m_3mminpixels ; if (m_loggingenabled) {