Removed qCritical print from RouteSegment::street() parser
authorSami Rämö <sami.ramo@ixonos.com>
Mon, 6 Sep 2010 11:34:16 +0000 (14:34 +0300)
committerSami Rämö <sami.ramo@ixonos.com>
Mon, 6 Sep 2010 11:34:16 +0000 (14:34 +0300)
 - Print was polluting unit test results

src/routing/routesegment.cpp

index f3961cc..0712542 100644 (file)
@@ -197,11 +197,8 @@ QString RouteSegment::street() const
         QRegExp regexp(REGEXP_ROUNDABOUT);
         result.replace(regexp, "");
 
-    } else {
-        // no match, unknown turn type
-        qCritical() << __PRETTY_FUNCTION__ << "UNKNOWN TURN TYPE CODE! ( turn type:"
-                    << m_turnType << "instruction:" << m_instruction << ")";
     }
+    // else: do nothing
 
     // replace on/at/onto words at the beginning of the result
     // with zero or one leading space and one following space