[Prevent] Delete unreachable code.
authorJan Olszak <j.olszak@samsung.com>
Fri, 7 Dec 2012 13:17:00 +0000 (14:17 +0100)
committerGerrit Code Review <gerrit2@kim11>
Tue, 11 Dec 2012 15:54:47 +0000 (00:54 +0900)
[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

index 246c99f..68d7a4a 100644 (file)
@@ -248,7 +248,6 @@ DPL::Optional<std::string> 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)