From: dahyeong.kim Date: Thu, 29 Aug 2013 10:30:22 +0000 (+0900) Subject: [3.0] Add a condition to remove needless log message X-Git-Tag: accepted/tizen/20130927.081017^2~40 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=51bb4a9a104d75114cc48ce1195aab1f884d732c;p=platform%2Fframework%2Fnative%2Fappfw.git [3.0] Add a condition to remove needless log message Change-Id: I6580e467a08af01c96ed65d4a33f68d82eb13fd2 Signed-off-by: dahyeong.kim --- diff --git a/src/base/utility/FBaseUtilUri.cpp b/src/base/utility/FBaseUtilUri.cpp index eb62a9c..32522d7 100644 --- a/src/base/utility/FBaseUtilUri.cpp +++ b/src/base/utility/FBaseUtilUri.cpp @@ -1446,7 +1446,7 @@ Uri::ParseHierarchicalUri(const Tizen::Base::String& str, int startSsp, Tizen::B curIndex = position; // If there is no query after question-mark "?", this method returns E_SUCCESS and saves empty string as query. - if (str[curIndex] == L'?' && ++curIndex < str.GetLength()) + if (curIndex < str.GetLength() && str[curIndex] == L'?' && ++curIndex < str.GetLength()) { String tempQuery;