Skip to content

Commit

Permalink
Fix SonarQube issue
Browse files Browse the repository at this point in the history
  • Loading branch information
uweseimet committed Sep 7, 2023
1 parent 78af70b commit 12f3029
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cpp/devices/scsi_daynaport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ void SCSIDaynaPort::TestUnitReady()
EnterStatusPhase();
}

void SCSIDaynaPort::Read6()
void SCSIDaynaPort::Read6() const
{
// Get record number and block number
const uint32_t record = GetInt24(GetController()->GetCmd(), 1) & 0x1fffff;
Expand Down
2 changes: 1 addition & 1 deletion cpp/devices/scsi_daynaport.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class SCSIDaynaPort : public PrimaryDevice, public ByteWriter
int RetrieveStats(span<const int>, vector<uint8_t>&) const;

void TestUnitReady() override;
void Read6();
void Read6() const;
void Write6() const;
void RetrieveStatistics() const;
void SetInterfaceMode() const;
Expand Down

0 comments on commit 12f3029

Please sign in to comment.