From: Jan Olszak Date: Fri, 7 Dec 2012 13:17:00 +0000 (+0100) Subject: [Prevent] Delete unreachable code. X-Git-Tag: submit/tizen_2.0/20121213.075357~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=168ae5995ebd3268474703559d0cb4e4bcb567d7;p=platform%2Fframework%2Fweb%2Fwrt-plugins-common.git [Prevent] Delete unreachable code. [Issue#] Unreachable code. [Bug] N/A [Cause] N/A [Solution] Deleted unreachable code. [Verification] Build plugin-commons. Run tests. Change-Id: I6e5d880967c150ada9f1d3b32331a6b4c4ce2fe2 --- diff --git a/src/modules/tizen/WidgetInterfaceDAO/WidgetInterfaceDAO.cpp b/src/modules/tizen/WidgetInterfaceDAO/WidgetInterfaceDAO.cpp index 246c99f..68d7a4a 100644 --- a/src/modules/tizen/WidgetInterfaceDAO/WidgetInterfaceDAO.cpp +++ b/src/modules/tizen/WidgetInterfaceDAO/WidgetInterfaceDAO.cpp @@ -248,7 +248,6 @@ DPL::Optional WidgetInterfaceDAO::getValue( LogError("Not found item " << key); ReThrow(Commons::PlatformException); } - return std::string(); } void WidgetInterfaceDAO::clear(bool removeReadOnly) @@ -314,7 +313,6 @@ std::string WidgetInterfaceDAO::getKeyByIndex(size_t index) const LogError("Cannot get item count"); ReThrow(Commons::PlatformException); } - return std::string(); } std::string WidgetInterfaceDAO::databaseFileName(int widgetHandle)