I was working and suddenly I faced a function like that:
void func(SomeStruct *parameter) { (void)parameter; }
I could not wrap my head on what it does.
I mean, there is a function func
which the only thing it does is (void)parameter;
but I can't get what (void)parameter;
is doing int this example.
Would someone mind to explain me, please?