From 56d3052327d43b0948a2f11335c417accc2bf6be Mon Sep 17 00:00:00 2001 From: Jan Olszak Date: Wed, 12 Dec 2012 09:46:26 +0100 Subject: [PATCH] [Prevent] Delete unreachable code. [Issue#] Unreachable code. Exception won't be thrown. [Bug] N/A [Cause] N/A [Solution] Deleted unreachable code. [Verification] Build commons. Run tests. Change-Id: Ifc48801bbcfddc711c3dda82aaaa5aab3097cd0b --- modules/widget_dao/dao/widget_dao_read_only.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/widget_dao/dao/widget_dao_read_only.cpp b/modules/widget_dao/dao/widget_dao_read_only.cpp index 4e4a50c..5b13abe 100644 --- a/modules/widget_dao/dao/widget_dao_read_only.cpp +++ b/modules/widget_dao/dao/widget_dao_read_only.cpp @@ -136,9 +136,6 @@ WidgetPkgName getPkgNameByHandle(const DbWidgetHandle handle) } SQL_CONNECTION_EXCEPTION_HANDLER_END("Failed in getHandle") - - ThrowMsg(WidgetDAOReadOnly::Exception::WidgetNotExist, - "Failed to get widget by handle"); } } // namespace -- 2.34.1