I have the usual sort of DEBUG macros:
#define serial_debug(...) Serial.debug(__VA_ARGS__)
In the code, if SERIAL_DEBUG is not defined, then this line is identified with the warning "Empty statement":
I think this is because there is essentially a semicolon without a preceding statement.
How can the warning be removed without disabling the inspection?
I could add a semicolon to the macro definition and remove it from each use of the macro, but seeing statements in the code without semicolons looks wrong.