From 168ae5995ebd3268474703559d0cb4e4bcb567d7 Mon Sep 17 00:00:00 2001 From: Jan Olszak Date: Fri, 7 Dec 2012 14:17:00 +0100 Subject: [PATCH] [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 --- src/modules/tizen/WidgetInterfaceDAO/WidgetInterfaceDAO.cpp | 2 -- 1 file changed, 2 deletions(-) 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) -- 2.7.4