Remove SonarQube suppressions which can be resolved by a code update

This commit is contained in:
Uwe Seimet 2023-10-17 10:59:01 +02:00
parent 3c990f006a
commit cd012efc9c
2 changed files with 5 additions and 5 deletions

View File

@ -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
};

View File

@ -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