[Issue#] CID: 31536
[Problem] Unreachable code
[Cause] Condition that is never true
[Solution] Remove dead code
[Verification] Build repository
Change-Id: Idd0e37f350b47d9355575bfa93ebcc2ee2209f4b
LogDebug("namespace = [" << *iterator << "]");
if (*iterator == ConfigurationNamespace::TizenWebAppNamespaceName) {
- if (widgetAppType != APP_TYPE_UNKNOWN &&
- widgetAppType != APP_TYPE_TIZENWEBAPP)
- {
- LogError("To many namespaces declared in configuration fileA.");
- ThrowMsg(Exceptions::WidgetConfigFileInvalid,
- "Config.xml has more than one valid namespace");
- }
widgetAppType = APP_TYPE_TIZENWEBAPP;
- } else {
- LogDebug("Namespace ignored.");
+ break;
}
}