[Logiqx] Null case already handled

This commit is contained in:
Matt Nadareski
2018-01-04 18:16:08 -08:00
parent e04370b1f1
commit 3906911ac5

View File

@@ -308,15 +308,15 @@ namespace SabreTools.Library.DatFiles
{ {
Header = (String.IsNullOrWhiteSpace(Header) ? headreader.GetAttribute("plugin") : Header); Header = (String.IsNullOrWhiteSpace(Header) ? headreader.GetAttribute("plugin") : Header);
} }
if (headreader.GetAttribute("forcemerging") != null && ForceMerging == ForceMerging.None) if (ForceMerging == ForceMerging.None)
{ {
ForceMerging = Utilities.GetForceMerging(headreader.GetAttribute("forcemerging")); ForceMerging = Utilities.GetForceMerging(headreader.GetAttribute("forcemerging"));
} }
if (headreader.GetAttribute("forcenodump") != null && ForceNodump == ForceNodump.None) if (ForceNodump == ForceNodump.None)
{ {
ForceNodump = Utilities.GetForceNodump(headreader.GetAttribute("forcenodump")); ForceNodump = Utilities.GetForceNodump(headreader.GetAttribute("forcenodump"));
} }
if (headreader.GetAttribute("forcepacking") != null && ForcePacking == ForcePacking.None) if (ForcePacking == ForcePacking.None)
{ {
ForcePacking = Utilities.GetForcePacking(headreader.GetAttribute("forcepacking")); ForcePacking = Utilities.GetForcePacking(headreader.GetAttribute("forcepacking"));
} }