nxos/base/drivers/i2c: Supress unused variable warning.
The comment indicates that this read operation is intentional, so keep it.
Instead just cast to void to suppress:
base/drivers/i2c.c:410:16: error: variable 'dummy' set but not used [-Werror=unused-but-set-variable]
410 |   volatile U32 dummy;
|                ^~~~~
@@ -417,6 +417,7 @@ static void i2c_isr(void) {
* interrupt handler to be called again.
*/
dummy = *AT91C_TC0_SR;
+ (void)dummy;
for (sensor=0; sensor<NXT_N_SENSORS; sensor++) {
const nx__sensors_pins *pins = nx__sensors_get_pins(sensor);
