Skip to content

Commit

Permalink
Fix Sonar issues
Browse files Browse the repository at this point in the history
  • Loading branch information
uweseimet committed Jan 15, 2025
1 parent 257580d commit 33065f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/devices/scsi_hd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ ScsiHd::ScsiHd(int lun, bool removable, bool apple, bool scsi1, const set<uint32
// Some Apple tools require a particular drive identification.
// Except for the vendor string .hda is the same as .hds.
if (apple) {
SetProductData( { "QUANTUM", "FIREBALL", "" }, true);
Disk::SetProductData( { "QUANTUM", "FIREBALL", "" }, true);
} else if (removable) {
SetProductData( { "", "SCSI HD (REM.)", "" }, true);
Disk::SetProductData( { "", "SCSI HD (REM.)", "" }, true);
}
SetScsiLevel(scsi1 ? ScsiLevel::SCSI_1_CCS : ScsiLevel::SCSI_2);
SetProtectable(true);
Expand Down

0 comments on commit 33065f2

Please sign in to comment.