U4-11546 [v7] Clean up to remove compiler warnings (#2823)

This commit is contained in:
Mundairson
2018-07-31 09:41:15 +01:00
committed by Sebastiaan Janssen
parent 3a0c872587
commit 9cd2db5018
26 changed files with 28 additions and 63 deletions

View File

@@ -149,7 +149,7 @@ namespace umbraco.cms.businesslogic
{
_contentType = new ContentType(contentTypeId);
}
catch (Exception e)
catch (Exception)
{
return null;
}
@@ -809,4 +809,4 @@ namespace umbraco.cms.businesslogic
}
#endregion
}
}
}

View File

@@ -25,8 +25,6 @@ namespace umbraco.cms.businesslogic.packager.standardPackageActions
string documentName = xmlData.Attributes["documentName"].Value;
int parentDocid = 0;
web.Document[] rootDocs = web.Document.GetRootDocuments();
foreach (web.Document rootDoc in rootDocs)
@@ -71,4 +69,4 @@ namespace umbraco.cms.businesslogic.packager.standardPackageActions
}
}
}
}