Use a macro to explain the intention behind code use to avoid warning
In some place of the code we find things like:
static void SOPC_HelperInternal_SyncServerStoppedCb(SOPC_ReturnStatus stopStatus)
{
(void) stopStatus;
…
where the (void) variable
statement is used to avoid spurious warning about unused argument.
It would be nice to be more explicit and for example use a macro like
#define UNUSED_ARG(arg) (void) (arg)
void f(int a)
{
UNUSED_ARG(a);
}