1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-25 22:37:27 -04:00

Fixed compile warnings.

This commit is contained in:
Taloth Saldono
2014-06-01 00:11:33 +02:00
committed by Mark McDowall
parent 6c8c87d2e2
commit d64c4445b8
34 changed files with 22 additions and 207 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ namespace NzbDrone.Core.Indexers
{
PreProcess(xml, url);
using (var xmlTextReader = XmlReader.Create(new StringReader(xml), new XmlReaderSettings { ProhibitDtd = false, IgnoreComments = true }))
using (var xmlTextReader = XmlReader.Create(new StringReader(xml), new XmlReaderSettings { DtdProcessing = DtdProcessing.Parse, IgnoreComments = true }))
{
var document = XDocument.Load(xmlTextReader);