REFACTOR: Removed unneeded value sets.

This commit is contained in:
2017-12-21 16:07:20 +00:00
parent 9883b567ff
commit bcbda18e4d
110 changed files with 203 additions and 280 deletions

View File

@@ -227,7 +227,7 @@ namespace DiscImageChef.Server
devices = new List<DeviceItem>();
foreach(DeviceStats device in statistics.Devices)
{
string url = null;
string url;
string xmlFile;
if(!string.IsNullOrWhiteSpace(device.Manufacturer) &&
!string.IsNullOrWhiteSpace(device.Model) && !string.IsNullOrWhiteSpace(device.Revision))

View File

@@ -102,8 +102,8 @@ namespace DiscImageChef.Server
if(report.USB != null)
{
string usbVendorDescription = null;
string usbProductDescription = null;
string usbVendorDescription;
string usbProductDescription;
GetUsbDescriptions(report.USB.VendorID, report.USB.ProductID, out usbVendorDescription,
out usbProductDescription);
@@ -544,7 +544,7 @@ namespace DiscImageChef.Server
TestedMedia.Report(testedMedia, ata, ref mediaOneValue);
if(mediaOneValue.Count > 0)
{
sscMedia = true;
divTestedMedia.Visible = true;
repTestedMedia.DataSource = mediaOneValue;
repTestedMedia.DataBind();
}