[Prevent] Delete unreachable code.
authorJan Olszak <j.olszak@samsung.com>
Fri, 7 Dec 2012 13:08:56 +0000 (14:08 +0100)
committerGerrit Code Review <gerrit2@kim11>
Tue, 11 Dec 2012 07:59:36 +0000 (16:59 +0900)
[Issue#] Unreachable code.
[Bug] N/A
[Cause] N/A
[Solution] Deleted unreachable code.
[Verification] Build commons. Run tests.

Change-Id: Iaf3347af57852a7fe72b84bccb64973bc8538511

modules/widget_dao/dao/widget_dao_read_only.cpp

index 750d258..d179281 100644 (file)
@@ -189,9 +189,6 @@ DbWidgetHandle WidgetDAOReadOnly::getHandle(const WidgetGUID GUID)
         return rowList.front().Get_app_id();
     }
     SQL_CONNECTION_EXCEPTION_HANDLER_END("Failed in getHandle")
-
-    ThrowMsg(WidgetDAOReadOnly::Exception::WidgetNotExist,
-                     "Failed to get widget by guid");
 }
 
 DbWidgetHandle WidgetDAOReadOnly::getHandle(const DPL::String pkgName)