For the purpose of the question I don't report all the code but just the significant details. I have this function:
void foo(/* SOME OTHER ARGS */ int* len);
This function (that I can't edit and don't want edit since in other circumstances I need len
) creates a file and modifies len
parameter accordingly. In some occasion I don't need len
at all, and hence my question is: is there a way to pass a hard-coded dummy parameter without declaring a dummy variable just for this purpose?