mirror of
https://github.com/akuker/RASCSI.git
synced 2024-06-10 17:29:35 +00:00
Remove SonarQube suppressions which can be resolved by a code update
This commit is contained in:
parent
3c990f006a
commit
cd012efc9c
|
@ -200,13 +200,13 @@ class GPIOBUS : public BUS
|
|||
virtual void DrvConfig(uint32_t drive) = 0;
|
||||
|
||||
// Operation mode
|
||||
mode_e actmode = mode_e::TARGET; // NOSONAR: This protected so derived classes can access it
|
||||
mode_e actmode = mode_e::TARGET;
|
||||
|
||||
#ifdef __linux__
|
||||
// SEL signal event request
|
||||
struct gpioevent_request selevreq = {}; // NOSONAR: This protected so derived classes can access it
|
||||
struct gpioevent_request selevreq = {};
|
||||
// epoll file descriptor
|
||||
int epfd = 0; // NOSONAR: This is protected so derived classes can access it
|
||||
int epfd = 0;
|
||||
|
||||
#endif
|
||||
};
|
||||
|
|
|
@ -162,9 +162,9 @@ class GPIOBUS_Raspberry : public GPIOBUS
|
|||
|
||||
protected:
|
||||
// All bus signals
|
||||
uint32_t signals = 0; // NOSONAR: Must be protected (not private) for testability
|
||||
uint32_t signals = 0;
|
||||
// GPIO input level
|
||||
volatile uint32_t *level = nullptr; // NOSONAR: Must be protected (not private) for testability
|
||||
volatile uint32_t *level = nullptr;
|
||||
|
||||
private:
|
||||
// SCSI I/O signal control
|
||||
|
|
Loading…
Reference in New Issue
Block a user