From 51bb4a9a104d75114cc48ce1195aab1f884d732c Mon Sep 17 00:00:00 2001 From: "dahyeong.kim" Date: Thu, 29 Aug 2013 19:30:22 +0900 Subject: [PATCH] [3.0] Add a condition to remove needless log message Change-Id: I6580e467a08af01c96ed65d4a33f68d82eb13fd2 Signed-off-by: dahyeong.kim --- src/base/utility/FBaseUtilUri.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.7.4